diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-06-09 18:31:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-09 18:31:50 +0200 |
commit | 5294710b9280053f09ed01ddde6eca3e65fda060 (patch) | |
tree | 3ce9a3500b8af492c1d8f56f9c01447d62361a24 /interface-definitions/firewall.xml.in | |
parent | ab4735480d62a3608ef21e9821c5d7865cb20a8a (diff) | |
parent | 3c5e1f7482507a6792e3e92498fb5f3cd8e9146d (diff) | |
download | vyos-1x-5294710b9280053f09ed01ddde6eca3e65fda060.tar.gz vyos-1x-5294710b9280053f09ed01ddde6eca3e65fda060.zip |
Merge pull request #1327 from sever-sever/T970
firewall: T970: Add firewall group domain-group
Diffstat (limited to 'interface-definitions/firewall.xml.in')
-rw-r--r-- | interface-definitions/firewall.xml.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/interface-definitions/firewall.xml.in b/interface-definitions/firewall.xml.in index ff8d92a24..d0218579c 100644 --- a/interface-definitions/firewall.xml.in +++ b/interface-definitions/firewall.xml.in @@ -100,6 +100,31 @@ #include <include/generic-description.xml.i> </children> </tagNode> + <tagNode name="domain-group"> + <properties> + <help>Firewall domain-group</help> + <constraint> + <regex>[a-zA-Z_][a-zA-Z0-9][\w\-\.]*</regex> + </constraint> + <constraintErrorMessage>Name of domain-group can only contain alpha-numeric letters, hyphen, underscores and not start with numeric</constraintErrorMessage> + </properties> + <children> + <leafNode name="address"> + <properties> + <help>Domain-group member</help> + <valueHelp> + <format>txt</format> + <description>Domain address to match</description> + </valueHelp> + <constraint> + <regex>[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}?(\/.*)?</regex> + </constraint> + <multi/> + </properties> + </leafNode> + #include <include/generic-description.xml.i> + </children> + </tagNode> <tagNode name="ipv6-address-group"> <properties> <help>Firewall ipv6-address-group</help> |