Skip to content

Commit

Permalink
T6841: firewall: re-use existing generic-interface-multi.xml.i XML bu…
Browse files Browse the repository at this point in the history
…ilding block
  • Loading branch information
c-po committed Dec 23, 2024
1 parent b3ff29f commit 7345e69
Showing 1 changed file with 3 additions and 31 deletions.
34 changes: 3 additions & 31 deletions interface-definitions/firewall.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,7 @@
</properties>
<children>
#include <include/generic-description.xml.i>
<leafNode name="interface">
<properties>
<help>Interfaces to use this flowtable</help>
<completionHelp>
<script>${vyos_completion_dir}/list_interfaces</script>
</completionHelp>
<multi/>
</properties>
</leafNode>
#include <include/generic-interface-multi.xml.i>
<leafNode name="offload">
<properties>
<help>Offloading method</help>
Expand Down Expand Up @@ -155,15 +147,7 @@
<constraintErrorMessage>Name of firewall group can only contain alphanumeric letters, hyphen, underscores and dot</constraintErrorMessage>
</properties>
<children>
<leafNode name="interface">
<properties>
<help>Interface-group member</help>
<completionHelp>
<script>${vyos_completion_dir}/list_interfaces</script>
</completionHelp>
<multi/>
</properties>
</leafNode>
#include <include/generic-interface-multi.xml.i>
<leafNode name="include">
<properties>
<help>Include another interface-group</help>
Expand Down Expand Up @@ -469,19 +453,7 @@
<help>Interface associated with zone</help>
</properties>
<children>
<leafNode name="interface">
<properties>
<help>Interface associated with zone</help>
<valueHelp>
<format>txt</format>
<description>Interface associated with zone</description>
</valueHelp>
<completionHelp>
<script>${vyos_completion_dir}/list_interfaces</script>
</completionHelp>
<multi/>
</properties>
</leafNode>
#include <include/generic-interface-multi.xml.i>
<leafNode name="vrf">
<properties>
<help>VRF associated with zone</help>
Expand Down

0 comments on commit 7345e69

Please sign in to comment.