From 336bb5a071b59264679be4f4f9bedbdecdbe2834 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Wed, 6 Dec 2023 07:10:46 +0000 Subject: T160: Rebase and fixes for NAT64 - Update the base (rebase) - Move include/nat64-protocol.xml.i => include/nat64/protocol.xml.i - Delete unwanted `write_json`, use `write_file` instead - Remove unnecessary deleting of default values for tagNodes T2665 - Add smoketest Example: ``` set interfaces ethernet eth0 address '192.168.122.14/24' set interfaces ethernet eth0 address '192.168.122.10/24' set interfaces ethernet eth2 address '2001:db8::1/64' set nat64 source rule 100 source prefix '64:ff9b::/96' set nat64 source rule 100 translation pool 10 address '192.168.122.10' set nat64 source rule 100 translation pool 10 port '1-65535' ``` --- interface-definitions/include/nat64-protocol.xml.i | 27 ---------------------- interface-definitions/include/nat64/protocol.xml.i | 27 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 interface-definitions/include/nat64-protocol.xml.i create mode 100644 interface-definitions/include/nat64/protocol.xml.i (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/nat64-protocol.xml.i b/interface-definitions/include/nat64-protocol.xml.i deleted file mode 100644 index 9432e6a87..000000000 --- a/interface-definitions/include/nat64-protocol.xml.i +++ /dev/null @@ -1,27 +0,0 @@ - - - - Apply translation address to a specfic protocol - - - - - Transmission Control Protocol - - - - - - User Datagram Protocol - - - - - - Internet Control Message Protocol - - - - - - diff --git a/interface-definitions/include/nat64/protocol.xml.i b/interface-definitions/include/nat64/protocol.xml.i new file mode 100644 index 000000000..a640873b5 --- /dev/null +++ b/interface-definitions/include/nat64/protocol.xml.i @@ -0,0 +1,27 @@ + + + + Apply translation address to a specfic protocol + + + + + Transmission Control Protocol + + + + + + User Datagram Protocol + + + + + + Internet Control Message Protocol + + + + + + -- cgit v1.2.3