From 7d01f7fec95f65705ec886f4de8bce21e0bfee07 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 16 May 2020 22:20:43 +0200 Subject: nat: nptv6: T2198: add XML/Python skeleton - define XML CLI interface - read CLI into Python dict --- interface-definitions/nat.xml.in | 81 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 73 insertions(+), 8 deletions(-) (limited to 'interface-definitions/nat.xml.in') diff --git a/interface-definitions/nat.xml.in b/interface-definitions/nat.xml.in index af9dd1eff..a0b3b815b 100644 --- a/interface-definitions/nat.xml.in +++ b/interface-definitions/nat.xml.in @@ -52,22 +52,87 @@ - + - Source NAT settings + IPv6-to-IPv6 Network Prefix Translation Settings - #include + + NPTv6 rule number + + 1-9999 + Number for this rule + + + + + NAT rule number must be between 1 and 9999 + - + - Outbound interface of NAT traffic - - - + Rule description + + + Disable NAT rule + + + + #include + + + IPv6 source prefix options + + + + + IPv6 prefix to be translated + + ipv6net + IPv6 prefix + + + + + + + + + + + Translated IPv6 prefix options + + + + + IPv6 prefix to translate to + + ipv6net + IPv6 prefix + + + + + + + + + + + + + + + Source NAT settings + + + #include + + + #include Outside NAT IP (source NAT only) -- cgit v1.2.3