diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-06 10:46:49 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-02-06 10:52:50 +0100 |
commit | c97a196c75f556105c02c43de3cc6719e8dfe559 (patch) | |
tree | b582670abebb2899e571effd18272db98e6ae280 /interface-definitions/include | |
parent | 5797d9b167e6579867ed6d08c368ef846d4e13fd (diff) | |
download | vyos-1x-c97a196c75f556105c02c43de3cc6719e8dfe559.tar.gz vyos-1x-c97a196c75f556105c02c43de3cc6719e8dfe559.zip |
rip: T2833: xml: split out (access|prefix)-list to re includable
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/rip-access-list.xml.i | 39 | ||||
-rw-r--r-- | interface-definitions/include/rip-prefix-list.xml.i | 33 |
2 files changed, 72 insertions, 0 deletions
diff --git a/interface-definitions/include/rip-access-list.xml.i b/interface-definitions/include/rip-access-list.xml.i new file mode 100644 index 000000000..0db6863e5 --- /dev/null +++ b/interface-definitions/include/rip-access-list.xml.i @@ -0,0 +1,39 @@ +<!-- included start from rip-access-list.xml.i --> +<node name="access-list"> + <properties> + <help>Access-list</help> + </properties> + <children> + <leafNode name="in"> + <properties> + <help>Access list to apply to input packets</help> + <valueHelp> + <format>u32</format> + <description>Access list to apply to input packets</description> + </valueHelp> + <completionHelp> + <path>policy access-list</path> + </completionHelp> + <constraint> + <validator name="numeric" argument="--range 0-4294967295"/> + </constraint> + </properties> + </leafNode> + <leafNode name="out"> + <properties> + <help>Access list to apply to output packets</help> + <valueHelp> + <format>u32</format> + <description>Access list to apply to output packets</description> + </valueHelp> + <completionHelp> + <path>policy access-list</path> + </completionHelp> + <constraint> + <validator name="numeric" argument="--range 0-4294967295"/> + </constraint> + </properties> + </leafNode> + </children> +</node> +<!-- included end --> diff --git a/interface-definitions/include/rip-prefix-list.xml.i b/interface-definitions/include/rip-prefix-list.xml.i new file mode 100644 index 000000000..58969a86b --- /dev/null +++ b/interface-definitions/include/rip-prefix-list.xml.i @@ -0,0 +1,33 @@ +<!-- included start from rip-prefix-list.xml.i --> +<node name="prefix-list"> + <properties> + <help>Prefix-list</help> + </properties> + <children> + <leafNode name="in"> + <properties> + <help>Prefix-list to apply to input packets</help> + <valueHelp> + <format>txt</format> + <description>Prefix-list to apply to input packets</description> + </valueHelp> + <completionHelp> + <path>policy prefix-list</path> + </completionHelp> + </properties> + </leafNode> + <leafNode name="out"> + <properties> + <help>Prefix-list to apply to output packets</help> + <valueHelp> + <format>txt</format> + <description>Prefix-list to apply to output packets</description> + </valueHelp> + <completionHelp> + <path>policy prefix-list</path> + </completionHelp> + </properties> + </leafNode> + </children> +</node> +<!-- included end --> |