From 6a44472d0b94ff225499f61ce057ad7709c9fafc Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Wed, 12 Jul 2023 21:02:58 +0200 Subject: bgp: T2387: re-use XML building blocks to simplify CLI definition --- .../include/bgp/afi-vpn-label.xml.i | 14 +++++++ .../include/bgp/protocol-common-config.xml.i | 43 ++-------------------- 2 files changed, 18 insertions(+), 39 deletions(-) create mode 100644 interface-definitions/include/bgp/afi-vpn-label.xml.i (limited to 'interface-definitions/include/bgp') diff --git a/interface-definitions/include/bgp/afi-vpn-label.xml.i b/interface-definitions/include/bgp/afi-vpn-label.xml.i new file mode 100644 index 000000000..6c7e73d9b --- /dev/null +++ b/interface-definitions/include/bgp/afi-vpn-label.xml.i @@ -0,0 +1,14 @@ + + + + MPLS label value assigned to route + + u32:0-1048575 + MPLS label value + + + + + + + diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i index 07b6868ee..dde7fc8c7 100644 --- a/interface-definitions/include/bgp/protocol-common-config.xml.i +++ b/interface-definitions/include/bgp/protocol-common-config.xml.i @@ -355,15 +355,7 @@ Apply local policy routing to interface - - - Interface - - - - - - + #include @@ -386,18 +378,7 @@ #include - - - MPLS label value assigned to route - - u32:0-1048575 - MPLS label value - - - - - - + #include @@ -766,18 +747,7 @@ #include - - - MPLS label value assigned to route - - u32:0-1048575 - MPLS label value - - - - - - + #include @@ -840,12 +810,7 @@ Specify handling for BUM packets - - - Do not flood any BUM packets - - - + #include Flood BUM packets using head-end replication -- cgit v1.2.3