<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/nat, branch 1.4.0-epa1</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0-epa1</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0-epa1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-01-16T14:08:56+00:00</updated>
<entry>
<title>T5889: Fix migration scripts nat 5-to-6</title>
<updated>2024-01-16T14:08:56+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2024-01-16T12:52:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=535228d888fedcc239bf4fa1be962fbd74259ca9'/>
<id>urn:sha1:535228d888fedcc239bf4fa1be962fbd74259ca9</id>
<content type='text'>
The current migration drop interface name for NAT where not should
```
nat {
    source {
        rule 100 {
            outbound-interface {
                name "eth0"
        ...
        }
    }
}
```
After migration we lost interface:
/home/vyos# /opt/vyatta/etc/config-migrate/migrate/nat/5-to-6 tmp.conf
/home/vyos#
/home/vyos# cat tmp.conf | grep "nat {" -A 10
nat {
    source {
        rule 100 {
            outbound-interface {
                interface-name ""
         ...
        }
    }
}
```
This commit fixes it.

(cherry picked from commit 813237d9766f636394b9ab385bb825fbf83202b3)
</content>
</entry>
<entry>
<title>T5804: nat: remove inbound|outbound interface from old configuration when it was set to &lt;any&gt;.</title>
<updated>2023-12-21T11:24:27+00:00</updated>
<author>
<name>Nicolas Fort</name>
<email>nicolasfort1988@gmail.com</email>
</author>
<published>2023-12-11T10:08:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=41fdbae4e5bbfaf9f7539b93a78a851981037cd8'/>
<id>urn:sha1:41fdbae4e5bbfaf9f7539b93a78a851981037cd8</id>
<content type='text'>
(cherry picked from commit 5cb95aed965b45a900c6ba97c0bccefed83332b6)
</content>
</entry>
<entry>
<title>T5681: Firewall,Nat and Nat66: simplified and standarize interface matcher firewal, nat and nat66.</title>
<updated>2023-11-01T10:39:10+00:00</updated>
<author>
<name>Nicolas Fort</name>
<email>nicolasfort1988@gmail.com</email>
</author>
<published>2023-10-25T11:59:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=2b38b45e219e363955b850d90a40564eb4b375c0'/>
<id>urn:sha1:2b38b45e219e363955b850d90a40564eb4b375c0</id>
<content type='text'>
(cherry picked from commit 51abbc0f1b2ccf4785cf7f29f1fe6f4af6007ee6)
</content>
</entry>
<entry>
<title>T5643: nat: add interface-groups to nat. Use same cli structure for interface-name|interface-group as in firewall.</title>
<updated>2023-10-24T04:18:48+00:00</updated>
<author>
<name>Nicolas Fort</name>
<email>nicolasfort1988@gmail.com</email>
</author>
<published>2023-10-10T17:35:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=94c98a78717293deb6a9863e40280565d0b47271'/>
<id>urn:sha1:94c98a78717293deb6a9863e40280565d0b47271</id>
<content type='text'>
(cherry picked from commit 2f2c3fa22478c7ba2e116486d655e07df878cdf4)
</content>
</entry>
<entry>
<title>T5427: Fix migration script arguments len expects 2 args</title>
<updated>2023-08-02T09:12:23+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-08-02T09:12:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1923b7b58795f0d9635ae0e8df110f591881bdf'/>
<id>urn:sha1:d1923b7b58795f0d9635ae0e8df110f591881bdf</id>
<content type='text'>
The script's name is always provided as the first argument sys.argv[0]
Expected length for argv is 2 (script itself + config file)

Change: 'if (len(argv) &lt; 1)' to 'if len(argv) &lt; 2'
</content>
</entry>
<entry>
<title>T3346: handle the case of empty nodes when migrating NAT to syntax version 5</title>
<updated>2021-02-22T15:03:05+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@vyos.io</email>
</author>
<published>2021-02-22T15:03:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=28cd2e3edb3e2108c43ad20c0084d496a7ffef25'/>
<id>urn:sha1:28cd2e3edb3e2108c43ad20c0084d496a7ffef25</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nat: T2198: migrate "log enable" node to only "log"</title>
<updated>2020-05-16T16:25:58+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-05-15T16:50:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d0b24799d9001cb467fd36fe3757bcfee7b9abc1'/>
<id>urn:sha1:d0b24799d9001cb467fd36fe3757bcfee7b9abc1</id>
<content type='text'>
</content>
</entry>
</feed>
