Support of configuration-groups in Juniper
Created by: jean1
The following configuration should be analysed by the junos parser:
groups { mysubgroup { ... } mygroup { interfaces { <ge-*> { apply-group mysubgroup; unit 0 { family ethernet-switching { vlan { members [ 2 ]; } } } } } } }
interface { ge-1/1/0 { apply-group mygroup; unit 0 { family ethernet-switching { port-mode trunk; vlan { members [ 3 ]; } } } }
This could be done by a pre-processor which replaces groups at the correct depth.