summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/mac-address.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/firewall/mac-address.xml.i')
-rw-r--r--interface-definitions/include/firewall/mac-address.xml.i18
1 files changed, 18 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/mac-address.xml.i b/interface-definitions/include/firewall/mac-address.xml.i
new file mode 100644
index 000000000..83aaf1ce1
--- /dev/null
+++ b/interface-definitions/include/firewall/mac-address.xml.i
@@ -0,0 +1,18 @@
+<!-- include start from firewall/mac-address.xml.i -->
+<leafNode name="mac-address">
+ <properties>
+ <help>MAC address</help>
+ <valueHelp>
+ <format>macaddr;</format>
+ <description>MAC address to match</description>
+ </valueHelp>
+ <valueHelp>
+ <format>!macaddr</format>
+ <description>Match everything except the specified MAC address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="mac-address-firewall"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->