# group and class declaration config # options option dhcp6.mysystem code 1250 = text; option dhcp6.myversion code 1251 = unsigned integer 16; option dhcp6.myvalue code 1252 = text; # superclass declaration class "foobar" { match option dhcp6.mysystem; option dhcp6.myversion 1; } # simple subclass declaration subclass "foobar" "version1"; # anonymous group group { # this option is not propagated because the superclass takes precedence option dhcp6.myversion 99; option dhcp6.myvalue "foo"; # option setting subclass declaration subclass "foobar" "version2" { option dhcp6.myversion 2; } # complex subclass declaration subclass "foobar" "version3" { option dhcp6.myversion 3; option dhcp6.myvalue "bar"; } # another simple subclass declaration subclass "foobar" "version10"; } |