diff options
Diffstat (limited to 'templates/protocols/bgp/node.def')
-rw-r--r-- | templates/protocols/bgp/node.def | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/protocols/bgp/node.def b/templates/protocols/bgp/node.def new file mode 100644 index 00000000..df0e79a6 --- /dev/null +++ b/templates/protocols/bgp/node.def @@ -0,0 +1,7 @@ +tag: +type: u32 +help: "Configure a BGP Autonomous System on this router" +# TODO: non-multinode parent +syntax: $(@) >= 1 && $(@) <= 65535; "AS number must be between 1 and 65535" +create: "/opt/vyatta/bin/vtysh -c \"configure terminal\" -c\"router bgp $(@)\" " +delete: "/opt/vyatta/bin/vtysh -c \"configure terminal\" -c\"no router bgp $(@)\" " |