diff options
| author | Ritika Chopra <r.chopra@vyos.io> | 2026-02-06 14:25:52 -0700 |
|---|---|---|
| committer | Ritika Chopra <r.chopra@vyos.io> | 2026-02-26 02:16:15 -0700 |
| commit | 80727823e8ac309959a06f8aaeb0e12f2f7a1f43 (patch) | |
| tree | 13bbffe69a3f35e58a6ecbf1b9b18353cfbdfc62 /interface-definitions | |
| parent | 61d8e945ee356befde46c94cfed859d3e9f37d55 (diff) | |
| download | vyos-1x-80727823e8ac309959a06f8aaeb0e12f2f7a1f43.tar.gz vyos-1x-80727823e8ac309959a06f8aaeb0e12f2f7a1f43.zip | |
T7513: vyos-1x: CGNAT Exclude Rule CLI support
Diffstat (limited to 'interface-definitions')
| -rw-r--r-- | interface-definitions/vpp.xml.in | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in index 9f245aaf3..df30ac906 100644 --- a/interface-definitions/vpp.xml.in +++ b/interface-definitions/vpp.xml.in @@ -868,6 +868,51 @@ #include <include/generic-description.xml.i> </children> </tagNode> + <node name="exclude"> + <properties> + <help>Exclude packets matching these rules from CGNAT</help> + </properties> + <children> + <tagNode name="rule"> + <properties> + <help>Rule number</help> + <valueHelp> + <format>u32</format> + <description>Number of rule</description> + </valueHelp> + </properties> + <children> + <leafNode name="local-address"> + <properties> + <help>IP address of the internal (local) device</help> + <valueHelp> + <format>ipv4</format> + <description>IPv4 address</description> + </valueHelp> + <constraint> + <validator name="ipv4-address"/> + </constraint> + </properties> + </leafNode> + <leafNode name="local-port"> + <properties> + <help>Port number used by connection on internal device</help> + <valueHelp> + <format>u32:1-65535</format> + <description>Numeric IP port</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-65535"/> + </constraint> + <constraintErrorMessage>Port number must be in range 1 to 65535</constraintErrorMessage> + </properties> + </leafNode> + #include <include/vpp/nat_protocol.xml.i> + #include <include/generic-description.xml.i> + </children> + </tagNode> + </children> + </node> <node name="timeout"> <properties> <help>Timeouts for CGNAT sessions</help> |
