diff options
author | Christian Breunig <christian@breunig.cc> | 2023-04-02 09:25:35 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-04-02 09:53:39 +0200 |
commit | 809f28f2b95a788d23db006a041955e7167a285d (patch) | |
tree | 9bbf0204215797cc6b40a72d28ebf6b59b3f33fa /interface-definitions/nat66.xml.in | |
parent | 37740abd88aa4c9f38e67ca8137ae6d61926d8ac (diff) | |
download | vyos-1x-809f28f2b95a788d23db006a041955e7167a285d.tar.gz vyos-1x-809f28f2b95a788d23db006a041955e7167a285d.zip |
xml: re-use generic-description.xml.i building block whenever possible
Remove redundant XML CLI node definitions for the common description node by
referencing the common building block.
Diffstat (limited to 'interface-definitions/nat66.xml.in')
-rw-r--r-- | interface-definitions/nat66.xml.in | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/interface-definitions/nat66.xml.in b/interface-definitions/nat66.xml.in index 6ea611789..7a8970bdf 100644 --- a/interface-definitions/nat66.xml.in +++ b/interface-definitions/nat66.xml.in @@ -24,11 +24,7 @@ <constraintErrorMessage>NAT66 rule number must be between 1 and 999999</constraintErrorMessage> </properties> <children> - <leafNode name="description"> - <properties> - <help>Rule description</help> - </properties> - </leafNode> + #include <include/generic-description.xml.i> <leafNode name="disable"> <properties> <help>Disable NAT66 rule</help> @@ -156,11 +152,7 @@ <constraintErrorMessage>NAT66 rule number must be between 1 and 999999</constraintErrorMessage> </properties> <children> - <leafNode name="description"> - <properties> - <help>Rule description</help> - </properties> - </leafNode> + #include <include/generic-description.xml.i> <leafNode name="disable"> <properties> <help>Disable NAT66 rule</help> |