summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-19 22:30:03 +0200
committerGitHub <noreply@github.com>2020-05-19 22:30:03 +0200
commitb645e28edb6e92fe13e781c0d29853aebaceb711 (patch)
treef12f6dadbea1be96066add627fcb9dfa1bb71bf2 /interface-definitions/include
parentf078e743c9c36b07a98d7ab433483cfca8ed2e0a (diff)
parent08f9a41ebaa7230be27b6be944cbae7635135e26 (diff)
downloadvyos-1x-b645e28edb6e92fe13e781c0d29853aebaceb711.tar.gz
vyos-1x-b645e28edb6e92fe13e781c0d29853aebaceb711.zip
Merge pull request #378 from sever-sever/bgp-xml-conf
bgp-xml: T2387:Commands in XML for [conf_mode] bgp
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/bgp-afi-redistribute-metric-route-map.xml.i17
-rw-r--r--interface-definitions/include/bgp-neighbor-afi-ipv4-unicast.xml.i285
-rw-r--r--interface-definitions/include/bgp-neighbor-afi-ipv6-unicast.xml.i322
-rw-r--r--interface-definitions/include/bgp-peer-group-afi-ipv4-unicast.xml.i301
-rw-r--r--interface-definitions/include/bgp-peer-group-afi-ipv6-unicast.xml.i317
5 files changed, 1242 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp-afi-redistribute-metric-route-map.xml.i b/interface-definitions/include/bgp-afi-redistribute-metric-route-map.xml.i
new file mode 100644
index 000000000..9b3f7a008
--- /dev/null
+++ b/interface-definitions/include/bgp-afi-redistribute-metric-route-map.xml.i
@@ -0,0 +1,17 @@
+<leafNode name="metric">
+ <properties>
+ <help>Metric for redistributed routes</help>
+ <valueHelp>
+ <format>&lt;1-4294967295&gt;</format>
+ <description>Metric for redistributed routes</description>
+ </valueHelp>
+ </properties>
+</leafNode>
+<leafNode name="route-map">
+ <properties>
+ <help>Route map to filter redistributed routes</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+</leafNode>
diff --git a/interface-definitions/include/bgp-neighbor-afi-ipv4-unicast.xml.i b/interface-definitions/include/bgp-neighbor-afi-ipv4-unicast.xml.i
new file mode 100644
index 000000000..74afb8851
--- /dev/null
+++ b/interface-definitions/include/bgp-neighbor-afi-ipv4-unicast.xml.i
@@ -0,0 +1,285 @@
+<node name="ipv4-unicast">
+ <properties>
+ <help>IPv4 BGP neighbor parameters</help>
+ </properties>
+ <children>
+ <node name="allowas-in">
+ <properties>
+ <help>Accept a IPv4-route that contains the local-AS in the as-path</help>
+ </properties>
+ <children>
+ <leafNode name="number">
+ <properties>
+ <help>Number of occurrences of AS number</help>
+ <valueHelp>
+ <format>&lt;1-10&gt;</format>
+ <description>Number of times AS is allowed in path</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-10"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="as-override">
+ <properties>
+ <help>AS for routes sent to this neighbor to be the local AS</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <node name="attribute-unchanged">
+ <properties>
+ <help>BGP attributes are sent unchanged (IPv4)</help>
+ </properties>
+ <children>
+ <leafNode name="as-path">
+ <properties>
+ <help>Send AS path unchanged (IPv4)</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="med">
+ <properties>
+ <help>Send multi-exit discriminator unchanged (IPv4)</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="next-hop">
+ <properties>
+ <help>Send nexthop unchanged (IPv4)</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="capability">
+ <properties>
+ <help>Advertise capabilities to this neighbor (IPv4)</help>
+ </properties>
+ <children>
+ <node name="orf">
+ <properties>
+ <help>Advertise ORF capability to this neighbor</help>
+ </properties>
+ <children>
+ <node name="prefix-list">
+ <properties>
+ <help>Advertise prefix-list ORF capability to this neighbor</help>
+ </properties>
+ <children>
+ <leafNode name="receive">
+ <properties>
+ <help>Capability to receive the ORF</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="send">
+ <properties>
+ <help>Capability to send the ORF</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+ <node name="default-originate">
+ <properties>
+ <help>Send default IPv4-route to this neighbor</help>
+ </properties>
+ <children>
+ <leafNode name="route-map">
+ <properties>
+ <help>IPv4-Route-map to specify criteria of the default</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="distribute-list">
+ <properties>
+ <help>Access-list to filter IPv4-route updates to/from this neighbor</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>Access-list to filter outgoing IPv4-route updates to this neighbor</help>
+ <completionHelp>
+ <path>policy access-list</path>
+ </completionHelp>
+ <valueHelp>
+ <format>&lt;1-65535&gt;</format>
+ <description>Access-list to filter outgoing IPv4-route updates to this neighbor</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>Access-list to filter incoming IPv4-route updates from this neighbor</help>
+ <completionHelp>
+ <path>policy access-list</path>
+ </completionHelp>
+ <valueHelp>
+ <format>&lt;1-65535&gt;</format>
+ <description>Access-list to filter incoming IPv4-route updates from this neighbor</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="filter-list">
+ <properties>
+ <help>As-path-list to filter IPv4-route updates to/from this neighbor</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>As-path-list to filter outgoing IPv4-route updates to this neighbor</help>
+ <completionHelp>
+ <path>policy as-path-list</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>As-path-list to filter incoming IPv4-route updates from this neighbor</help>
+ <completionHelp>
+ <path>policy as-path-list</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="maximum-prefix">
+ <properties>
+ <help>Maximum number of IPv4-prefixes to accept from this neighbor</help>
+ <valueHelp>
+ <format>&lt;1-4294967295&gt;</format>
+ <description>Prefix limit</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967295"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <node name="nexthop-self">
+ <properties>
+ <help>Nexthop for IPv4-routes sent to this neighbor to be the local router</help>
+ </properties>
+ <children>
+ <leafNode name="force">
+ <properties>
+ <help>Set the next hop to self for reflected routes</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="prefix-list">
+ <properties>
+ <help>IPv4-Prefix-list to filter route updates to/from this neighbor</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>IPv4-Prefix-list to filter outgoing route updates to this neighbor</help>
+ <completionHelp>
+ <path>policy prefix-list</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>IPv4-Prefix-list to filter incoming route updates from this neighbor</help>
+ <completionHelp>
+ <path>policy prefix-list</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="remove-private-as">
+ <properties>
+ <help>Remove private AS numbers from AS path in outbound IPv4-route updates</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <node name="route-map">
+ <properties>
+ <help>Route-map to filter IPv4-route updates to/from this neighbor</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>IPv4-Route-map to filter outgoing route updates to this neighbor</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>IPv4-Route-map to filter incoming route updates from this neighbor</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="route-reflector-client">
+ <properties>
+ <help>Neighbor as a IPv4-route reflector client</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="route-server-client">
+ <properties>
+ <help>Neighbor is IPv4-route server client</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <node name="soft-reconfiguration">
+ <properties>
+ <help>Soft reconfiguration for neighbor (IPv4)</help>
+ </properties>
+ <children>
+ <leafNode name="inbound">
+ <properties>
+ <help>Inbound soft reconfiguration for this neighbor [REQUIRED]</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="unsuppress-map">
+ <properties>
+ <help>Route-map to selectively unsuppress suppressed IPv4-routes</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="weight">
+ <properties>
+ <help>Default weight for routes from this neighbor</help>
+ <valueHelp>
+ <format>&lt;1-65535&gt;</format>
+ <description>Weight for routes from this neighbor</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+</node>
diff --git a/interface-definitions/include/bgp-neighbor-afi-ipv6-unicast.xml.i b/interface-definitions/include/bgp-neighbor-afi-ipv6-unicast.xml.i
new file mode 100644
index 000000000..e95cb6dd8
--- /dev/null
+++ b/interface-definitions/include/bgp-neighbor-afi-ipv6-unicast.xml.i
@@ -0,0 +1,322 @@
+<node name="ipv6-unicast">
+ <properties>
+ <help>IPv6 BGP neighbor parameters</help>
+ </properties>
+ <children>
+ <node name="allowas-in">
+ <properties>
+ <help>Accept a IPv6-route that contains the local-AS in the as-path</help>
+ </properties>
+ <children>
+ <leafNode name="number">
+ <properties>
+ <help>Number of occurrences of AS number</help>
+ <valueHelp>
+ <format>&lt;1-10&gt;</format>
+ <description>Number of times AS is allowed in path</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-10"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="as-override">
+ <properties>
+ <help>AS for routes sent to this neighbor to be the local AS</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <node name="attribute-unchanged">
+ <properties>
+ <help>BGP attributes are sent unchanged</help>
+ </properties>
+ <children>
+ <leafNode name="as-path">
+ <properties>
+ <help>Send AS path unchanged</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="med">
+ <properties>
+ <help>Send multi-exit discriminator unchanged</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="next-hop">
+ <properties>
+ <help>Send nexthop unchanged</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="capability">
+ <properties>
+ <help>Advertise capabilities to this neighbor (IPv6)</help>
+ </properties>
+ <children>
+ <node name="orf">
+ <properties>
+ <help>Advertise ORF capability to this neighbor</help>
+ </properties>
+ <children>
+ <node name="prefix-list">
+ <properties>
+ <help>Advertise prefix-list ORF capability to this neighbor</help>
+ </properties>
+ <children>
+ <leafNode name="receive">
+ <properties>
+ <help>Capability to receive the ORF</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="send">
+ <properties>
+ <help>Capability to send the ORF</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+ <node name="default-originate">
+ <properties>
+ <help>Send default IPv6-route to this neighbor</help>
+ </properties>
+ <children>
+ <leafNode name="route-map">
+ <properties>
+ <help>Route-map to specify criteria of the default</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="disable-send-community">
+ <properties>
+ <help>Disable sending community attributes to this neighbor</help>
+ </properties>
+ <children>
+ <leafNode name="extended">
+ <properties>
+ <help>Disable sending extended community attributes to this neighbor</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="standard">
+ <properties>
+ <help>Disable sending standard community attributes to this neighbor</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="distribute-list">
+ <properties>
+ <help>Access-list to filter route updates to/from this neighbor</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>Access-list to filter outgoing route updates to this neighbor</help>
+ <completionHelp>
+ <path>policy access-list6</path>
+ </completionHelp>
+ <valueHelp>
+ <format>&lt;1-65535&gt;</format>
+ <description>Access-list to filter outgoing route updates to this neighbor</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>Access-list to filter incoming route updates from this neighbor</help>
+ <completionHelp>
+ <path>policy access-list6</path>
+ </completionHelp>
+ <valueHelp>
+ <format>&lt;1-65535&gt;</format>
+ <description>Access-list to filter incoming route updates from this neighbor</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="filter-list">
+ <properties>
+ <help>As-path-list to filter route updates to/from this neighbor</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>As-path-list to filter outgoing route updates to this neighbor</help>
+ <completionHelp>
+ <path>policy as-path-list</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>As-path-list to filter incoming route updates from this neighbor</help>
+ <completionHelp>
+ <path>policy as-path-list</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="maximum-prefix">
+ <properties>
+ <help>Maximum number of prefixes to accept from this neighbor</help>
+ <valueHelp>
+ <format>&lt;1-4294967295&gt;</format>
+ <description>Prefix limit</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967295"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <node name="nexthop-local">
+ <properties>
+ <help>Nexthop attributes</help>
+ </properties>
+ <children>
+ <leafNode name="unchanged">
+ <properties>
+ <help>Leave link-local nexthop unchanged for this peer</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="nexthop-self">
+ <properties>
+ <help>Nexthop for IPv6-routes sent to this neighbor to be the local router</help>
+ </properties>
+ <children>
+ <leafNode name="force">
+ <properties>
+ <help>Set the next hop to self for reflected routes</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="peer-group">
+ <properties>
+ <help>IPv6 peer group for this peer</help>
+ </properties>
+ </leafNode>
+ <node name="prefix-list">
+ <properties>
+ <help>Prefix-list to filter route updates to/from this neighbor</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>Prefix-list to filter outgoing route updates to this neighbor</help>
+ <completionHelp>
+ <path>policy prefix-list6</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>Prefix-list to filter incoming route updates from this neighbor</help>
+ <completionHelp>
+ <path>policy prefix-list6</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="remove-private-as">
+ <properties>
+ <help>Remove private AS numbers from AS path in outbound route updates</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <node name="route-map">
+ <properties>
+ <help>Route-map to filter route updates to/from this neighbor</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>Route-map to filter outgoing route updates to this neighbor</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>Route-map to filter incoming route updates from this neighbor</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="route-reflector-client">
+ <properties>
+ <help>Neighbor as a IPv6-route reflector client</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="route-server-client">
+ <properties>
+ <help>Neighbor is IPv6-route server client</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <node name="soft-reconfiguration">
+ <properties>
+ <help>Soft reconfiguration for neighbor (IPv6)</help>
+ </properties>
+ <children>
+ <leafNode name="inbound">
+ <properties>
+ <help>Inbound soft reconfiguration for this neighbor [REQUIRED]</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="unsuppress-map">
+ <properties>
+ <help>Route-map to selectively unsuppress suppressed IPv6-routes</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="weight">
+ <properties>
+ <help>Default weight for routes from this neighbor</help>
+ <valueHelp>
+ <format>&lt;1-65535&gt;</format>
+ <description>Weight for routes from this neighbor</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+</node>
diff --git a/interface-definitions/include/bgp-peer-group-afi-ipv4-unicast.xml.i b/interface-definitions/include/bgp-peer-group-afi-ipv4-unicast.xml.i
new file mode 100644
index 000000000..df051ace5
--- /dev/null
+++ b/interface-definitions/include/bgp-peer-group-afi-ipv4-unicast.xml.i
@@ -0,0 +1,301 @@
+<node name="ipv4-unicast">
+ <properties>
+ <help>IPv4 BGP peer group parameters</help>
+ </properties>
+ <children>
+ <node name="allowas-in">
+ <properties>
+ <help>Accept a route that contains the local-AS in the as-path</help>
+ </properties>
+ <children>
+ <leafNode name="number">
+ <properties>
+ <help>Number of occurrences of AS number</help>
+ <valueHelp>
+ <format>&lt;1-10&gt;</format>
+ <description>Number of times AS is allowed in path</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-10"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="attribute-unchanged">
+ <properties>
+ <help>BGP attributes are sent unchanged</help>
+ </properties>
+ <children>
+ <leafNode name="as-path">
+ <properties>
+ <help>Send AS path unchanged</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="med">
+ <properties>
+ <help>Send multi-exit discriminator unchanged</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="next-hop">
+ <properties>
+ <help>Send nexthop unchanged</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="capability">
+ <properties>
+ <help>Advertise capabilities to this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="dynamic">
+ <properties>
+ <help>Advertise dynamic capability to this peer-group</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <node name="orf">
+ <properties>
+ <help>Advertise ORF capability to this peer-group</help>
+ </properties>
+ <children>
+ <node name="prefix-list">
+ <properties>
+ <help>Advertise prefix-list ORF capability to this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="receive">
+ <properties>
+ <help>Capability to receive the ORF</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="send">
+ <properties>
+ <help>Capability to send the ORF</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+ <node name="default-originate">
+ <properties>
+ <help>Send default route to this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="route-map">
+ <properties>
+ <help>Route-map to specify criteria of the default</help>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="disable-send-community">
+ <properties>
+ <help>Disable sending community attributes to this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="extended">
+ <properties>
+ <help>Disable sending extended community attributes to this peer-group</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="standard">
+ <properties>
+ <help>Disable sending standard community attributes to this peer-group</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="distribute-list">
+ <properties>
+ <help>Access-list to filter route updates to/from this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>Access-list to filter outgoing route updates to this peer-group</help>
+ <completionHelp>
+ <path>policy access-list</path>
+ </completionHelp>
+ <valueHelp>
+ <format>&lt;1-65535&gt;</format>
+ <description>Access-list to filter outgoing route updates to this peer-group</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>Access-list to filter incoming route updates from this peer-group</help>
+ <completionHelp>
+ <path>policy access-list</path>
+ </completionHelp>
+ <valueHelp>
+ <format>&lt;1-65535&gt;</format>
+ <description>Access-list to filter incoming route updates from this peer-group</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="filter-list">
+ <properties>
+ <help>As-path-list to filter route updates to/from this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>As-path-list to filter outgoing route updates to this peer-group</help>
+ <completionHelp>
+ <path>policy as-path-list</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>As-path-list to filter incoming route updates from this peer-group</help>
+ <completionHelp>
+ <path>policy as-path-list</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="maximum-prefix">
+ <properties>
+ <help>Maximum number of prefixes to accept from this peer-group</help>
+ <valueHelp>
+ <format>&lt;1-4294967295&gt;</format>
+ <description>Prefix limit</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967295"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <node name="nexthop-self">
+ <properties>
+ <help>Nexthop for routes sent to this peer-group to be the local router</help>
+ </properties>
+ <children>
+ <leafNode name="force">
+ <properties>
+ <help>Set the next hop to self for reflected routes</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="prefix-list">
+ <properties>
+ <help>Prefix-list to filter route updates to/from this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>Prefix-list to filter outgoing route updates to this peer-group</help>
+ <completionHelp>
+ <path>policy prefix-list</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>Prefix-list to filter incoming route updates from this peer-group</help>
+ <completionHelp>
+ <path>policy prefix-list</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="remove-private-as">
+ <properties>
+ <help>Remove private AS numbers from AS path in outbound route updates</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <node name="route-map">
+ <properties>
+ <help>Route-map to filter route updates to/from this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>Route-map to filter outgoing route updates to this peer-group</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>Route-map to filter incoming route updates from this peer-group</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="route-reflector-client">
+ <properties>
+ <help>Peer-group as a route reflector client</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="route-server-client">
+ <properties>
+ <help>Peer-group as route server client</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <node name="soft-reconfiguration">
+ <properties>
+ <help>Soft reconfiguration for peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="inbound">
+ <properties>
+ <help>Inbound soft reconfiguration for this peer-group [REQUIRED]</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="unsuppress-map">
+ <properties>
+ <help>Route-map to selectively unsuppress suppressed routes</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="weight">
+ <properties>
+ <help>Default weight for routes from this peer-group</help>
+ <valueHelp>
+ <format>&lt;1-65535&gt;</format>
+ <description>Weight for routes from this peer-group</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+</node>
diff --git a/interface-definitions/include/bgp-peer-group-afi-ipv6-unicast.xml.i b/interface-definitions/include/bgp-peer-group-afi-ipv6-unicast.xml.i
new file mode 100644
index 000000000..a381e02f0
--- /dev/null
+++ b/interface-definitions/include/bgp-peer-group-afi-ipv6-unicast.xml.i
@@ -0,0 +1,317 @@
+<node name="ipv6-unicast">
+ <properties>
+ <help>IPv6 BGP neighbor parameters</help>
+ </properties>
+ <children>
+ <node name="allowas-in">
+ <properties>
+ <help>Accept a IPv6-route that contains the local-AS in the as-path</help>
+ </properties>
+ <children>
+ <leafNode name="number">
+ <properties>
+ <help>Number of occurrences of AS number</help>
+ <valueHelp>
+ <format>&lt;1-10&gt;</format>
+ <description>Number of times AS is allowed in path</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-10"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="attribute-unchanged">
+ <properties>
+ <help>BGP attributes are sent unchanged</help>
+ </properties>
+ <children>
+ <leafNode name="as-path">
+ <properties>
+ <help>Send AS path unchanged</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="med">
+ <properties>
+ <help>Send multi-exit discriminator unchanged</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="next-hop">
+ <properties>
+ <help>Send nexthop unchanged</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="capability">
+ <properties>
+ <help>Advertise capabilities to this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="dynamic">
+ <properties>
+ <help>Advertise dynamic capability to this peer-group</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <node name="orf">
+ <properties>
+ <help>Advertise ORF capability to this peer-group</help>
+ </properties>
+ <children>
+ <node name="prefix-list">
+ <properties>
+ <help>Advertise prefix-list ORF capability to this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="receive">
+ <properties>
+ <help>Capability to receive the ORF</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="send">
+ <properties>
+ <help>Capability to send the ORF</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+ <node name="default-originate">
+ <properties>
+ <help>Send default route to this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="route-map">
+ <properties>
+ <help>Route-map to specify criteria of the default</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="disable-send-community">
+ <properties>
+ <help>Disable sending community attributes to this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="extended">
+ <properties>
+ <help>Disable sending extended community attributes to this peer-group</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="standard">
+ <properties>
+ <help>Disable sending standard community attributes to this peer-group</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="distribute-list">
+ <properties>
+ <help>Access-list to filter route updates to/from this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>Access-list to filter outgoing route updates to this peer-group</help>
+ <completionHelp>
+ <path>policy access-list6</path>
+ </completionHelp>
+ <valueHelp>
+ <format>&lt;1-65535&gt;</format>
+ <description>Access-list to filter outgoing route updates to this peer-group</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>Access-list to filter incoming route updates from this peer-group</help>
+ <completionHelp>
+ <path>policy access-list6</path>
+ </completionHelp>
+ <valueHelp>
+ <format>&lt;1-65535&gt;</format>
+ <description>Access-list to filter incoming route updates from this peer-group</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="filter-list">
+ <properties>
+ <help>As-path-list to filter route updates to/from this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>As-path-list to filter outgoing route updates to this peer-group</help>
+ <completionHelp>
+ <path>policy as-path-list</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>As-path-list to filter incoming route updates from this peer-group</help>
+ <completionHelp>
+ <path>policy as-path-list</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="maximum-prefix">
+ <properties>
+ <help>Maximum number of prefixes to accept from this peer-group</help>
+ <valueHelp>
+ <format>&lt;1-4294967295&gt;</format>
+ <description>Prefix limit</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967295"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <node name="nexthop-local">
+ <properties>
+ <help>Nexthop attributes</help>
+ </properties>
+ <children>
+ <leafNode name="unchanged">
+ <properties>
+ <help>Leave link-local nexthop unchanged for this peer</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="nexthop-self">
+ <properties>
+ <help>Nexthop for routes sent to this peer-group to be the local router</help>
+ </properties>
+ <children>
+ <leafNode name="force">
+ <properties>
+ <help>Set the next hop to self for reflected routes</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <node name="prefix-list">
+ <properties>
+ <help>Prefix-list to filter route updates to/from this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>Prefix-list to filter outgoing route updates to this peer-group</help>
+ <completionHelp>
+ <path>policy prefix-list6</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>Prefix-list to filter incoming route updates from this peer-group</help>
+ <completionHelp>
+ <path>policy prefix-list6</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="remove-private-as">
+ <properties>
+ <help>Remove private AS numbers from AS path in outbound route updates</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <node name="route-map">
+ <properties>
+ <help>Route-map to filter route updates to/from this peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="export">
+ <properties>
+ <help>Route-map to filter outgoing route updates to this peer-group</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="import">
+ <properties>
+ <help>Route-map to filter incoming route updates from this peer-group</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="route-reflector-client">
+ <properties>
+ <help>Peer-group as a route reflector client</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="route-server-client">
+ <properties>
+ <help>Peer-group as route server client</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <node name="soft-reconfiguration">
+ <properties>
+ <help>Soft reconfiguration for peer-group</help>
+ </properties>
+ <children>
+ <leafNode name="inbound">
+ <properties>
+ <help>Inbound soft reconfiguration for this peer-group [REQUIRED]</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="unsuppress-map">
+ <properties>
+ <help>Route-map to selectively unsuppress suppressed routes</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="weight">
+ <properties>
+ <help>Default weight for routes from this peer-group</help>
+ <valueHelp>
+ <format>&lt;1-65535&gt;</format>
+ <description>Weight for routes from this peer-group</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+</node>