From 1a859a97f840d0205670eb96ff4fbc0dbe263b7e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 2 Jul 2021 22:12:43 +0200 Subject: xml: provide building block for a generic description node --- interface-definitions/firewall.xml.in | 18 +++++------ .../include/firewall/common-rule.xml.i | 2 +- .../include/firewall/description.xml.i | 11 ------- .../include/generic-description.xml.i | 11 +++++++ .../include/policy/description.xml.i | 11 ------- interface-definitions/policy.xml.in | 36 +++++++++++----------- interface-definitions/vpn_ipsec.xml.in | 9 ++---- 7 files changed, 41 insertions(+), 57 deletions(-) delete mode 100644 interface-definitions/include/firewall/description.xml.i create mode 100644 interface-definitions/include/generic-description.xml.i delete mode 100644 interface-definitions/include/policy/description.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/firewall.xml.in b/interface-definitions/firewall.xml.in index 5528d6bc5..f07c619a8 100644 --- a/interface-definitions/firewall.xml.in +++ b/interface-definitions/firewall.xml.in @@ -91,7 +91,7 @@ - #include + #include @@ -112,7 +112,7 @@ - #include + #include @@ -120,7 +120,7 @@ Network-group member - #include + #include Network-group member @@ -141,7 +141,7 @@ Firewall network-group - #include + #include Network-group member @@ -162,7 +162,7 @@ Firewall port-group - #include + #include Port-group member @@ -210,15 +210,15 @@ #include - #include #include + #include Rule number (1-9999) #include - #include + #include Destination parameters @@ -578,15 +578,15 @@ #include - #include #include + #include Rule number (1-9999) #include - #include + #include Destination parameters diff --git a/interface-definitions/include/firewall/common-rule.xml.i b/interface-definitions/include/firewall/common-rule.xml.i index 466599e0a..1ee8da73d 100644 --- a/interface-definitions/include/firewall/common-rule.xml.i +++ b/interface-definitions/include/firewall/common-rule.xml.i @@ -1,6 +1,6 @@ #include -#include +#include Option to disable firewall rule diff --git a/interface-definitions/include/firewall/description.xml.i b/interface-definitions/include/firewall/description.xml.i deleted file mode 100644 index b6bae406b..000000000 --- a/interface-definitions/include/firewall/description.xml.i +++ /dev/null @@ -1,11 +0,0 @@ - - - - Description - - txt - Description - - - - diff --git a/interface-definitions/include/generic-description.xml.i b/interface-definitions/include/generic-description.xml.i new file mode 100644 index 000000000..03fc564e6 --- /dev/null +++ b/interface-definitions/include/generic-description.xml.i @@ -0,0 +1,11 @@ + + + + Description + + txt + Description + + + + diff --git a/interface-definitions/include/policy/description.xml.i b/interface-definitions/include/policy/description.xml.i deleted file mode 100644 index e2ff35d02..000000000 --- a/interface-definitions/include/policy/description.xml.i +++ /dev/null @@ -1,11 +0,0 @@ - - - - Description - - txt - Description - - - - diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in index 6a002cc20..5a3c58fa8 100644 --- a/interface-definitions/policy.xml.in +++ b/interface-definitions/policy.xml.in @@ -27,7 +27,7 @@ - #include + #include Rule for this access-list @@ -41,7 +41,7 @@ #include - #include + #include Destination network or address @@ -87,7 +87,7 @@ - #include + #include Rule for this access-list6 @@ -101,7 +101,7 @@ #include - #include + #include Source IPv6 network to match @@ -146,7 +146,7 @@ - #include + #include Rule for this as-path-list @@ -160,7 +160,7 @@ #include - #include + #include Regular expression to match against an AS path @@ -183,7 +183,7 @@ - #include + #include Rule for this BGP community list @@ -197,7 +197,7 @@ #include - #include + #include Regular expression to match against a community-list @@ -243,7 +243,7 @@ - #include + #include Rule for this BGP extended community list @@ -257,7 +257,7 @@ #include - #include + #include Regular expression to match against an extended community list @@ -288,7 +288,7 @@ - #include + #include Rule for this BGP extended community list @@ -302,7 +302,7 @@ #include - #include + #include Regular expression to match against a large community list @@ -329,7 +329,7 @@ Name of prefix-list can only contain alpha-numeric letters, hyphen and underscores - #include + #include Rule for this prefix-list @@ -343,7 +343,7 @@ #include - #include + #include Prefix length to match a netmask greater than or equal to it @@ -397,7 +397,7 @@ Name of prefix-list6 can only contain alpha-numeric letters, hyphen and underscores - #include + #include Rule for this prefix-list6 @@ -411,7 +411,7 @@ #include - #include + #include Prefix length to match a netmask greater than or equal to it @@ -465,7 +465,7 @@ Name of route-map can only contain alpha-numeric letters, hyphen and underscores - #include + #include Rule for this route-map @@ -500,7 +500,7 @@ - #include + #include Route parameters to match diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in index 7b1b3a595..f51c2fc92 100644 --- a/interface-definitions/vpn_ipsec.xml.in +++ b/interface-definitions/vpn_ipsec.xml.in @@ -708,7 +708,7 @@ - Site to site VPN + Site-to-site VPN @@ -837,12 +837,7 @@ - - - VPN peer description - - - + #include DHCP interface to listen on -- cgit v1.2.3