# subclass with guard declaration config # options option mysystem code 250 = text; option myversion code 251 = unsigned integer 16; option mydescr code 252 = text; # superclass declaration class "foobar" { match if option myversion = 0:1; match option mysystem; } # simple subclass declaration subclass "foobar" "system1"; # option setting subclass declaration subclass "foobar" "system2" { option mydescr "1.2"; } # complex subclass declaration subclass "foobar" "system3" { option mydescr "1.3"; next-server 192.168.0.1; } |