summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-01 19:59:31 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-01 19:59:31 +0200
commitfc5542b4011befa746f9aa0c081fdab5ea390a3b (patch)
tree509267aa7f4e1250193da6a1c45727512131246f /interface-definitions
parenta21f57dd78cf30838769311706397f1b2077056b (diff)
downloadvyos-1x-fc5542b4011befa746f9aa0c081fdab5ea390a3b.tar.gz
vyos-1x-fc5542b4011befa746f9aa0c081fdab5ea390a3b.zip
bgp: T2387: move "aggregate address" to XML include
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/bgp-afi-aggregate-address.xml.i12
-rw-r--r--interface-definitions/protocols-bgp.xml.in26
2 files changed, 14 insertions, 24 deletions
diff --git a/interface-definitions/include/bgp-afi-aggregate-address.xml.i b/interface-definitions/include/bgp-afi-aggregate-address.xml.i
new file mode 100644
index 000000000..40c030fc1
--- /dev/null
+++ b/interface-definitions/include/bgp-afi-aggregate-address.xml.i
@@ -0,0 +1,12 @@
+<leafNode name="as-set">
+ <properties>
+ <help>Generate AS-set path information for this aggregate address</help>
+ <valueless/>
+ </properties>
+</leafNode>
+<leafNode name="summary-only">
+ <properties>
+ <help>Announce the aggregate summary network only</help>
+ <valueless/>
+ </properties>
+</leafNode>
diff --git a/interface-definitions/protocols-bgp.xml.in b/interface-definitions/protocols-bgp.xml.in
index 8cab34141..3a4600753 100644
--- a/interface-definitions/protocols-bgp.xml.in
+++ b/interface-definitions/protocols-bgp.xml.in
@@ -38,18 +38,7 @@
</constraint>
</properties>
<children>
- <leafNode name="as-set">
- <properties>
- <help>Generate AS-set path information for this aggregate address</help>
- <valueless/>
- </properties>
- </leafNode>
- <leafNode name="summary-only">
- <properties>
- <help>Announce the aggregate summary network only</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/bgp-afi-aggregate-address.xml.i>
</children>
</tagNode>
<tagNode name="network">
@@ -151,18 +140,7 @@
</constraint>
</properties>
<children>
- <leafNode name="as-set">
- <properties>
- <help>Generate AS-set path information for this aggregate address</help>
- <valueless/>
- </properties>
- </leafNode>
- <leafNode name="summary-only">
- <properties>
- <help>Announce the aggregate summary network only</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/bgp-afi-aggregate-address.xml.i>
</children>
</tagNode>
<tagNode name="network">