<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/policy, branch mergify/bp/circinus/pr-4032</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=mergify%2Fbp%2Fcircinus%2Fpr-4032</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=mergify%2Fbp%2Fcircinus%2Fpr-4032'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-04-06T08:46:30+00:00</updated>
<entry>
<title>T6199: remove unused Python imports from migration scripts</title>
<updated>2024-04-06T08:46:30+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-04-06T08:46:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=489e6fababa60d9c0fbfdb421305cbe563432499'/>
<id>urn:sha1:489e6fababa60d9c0fbfdb421305cbe563432499</id>
<content type='text'>
</content>
</entry>
<entry>
<title>policy: T6130: Revert commit 960cace</title>
<updated>2024-03-19T13:38:46+00:00</updated>
<author>
<name>aapostoliuk</name>
<email>a.apostoliuk@vyos.io</email>
</author>
<published>2024-03-19T13:04:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=72378c67ef1eee01a06e2f9a194a0870c6a7fdd2'/>
<id>urn:sha1:72378c67ef1eee01a06e2f9a194a0870c6a7fdd2</id>
<content type='text'>
This reverts commit 960cace189d7ace2bea0968646b1348b415e0363.
All community rules syntax was changed.
T5357 is invalid bug report.
VyOS cannot use new configuration syntax in the previous versions.
</content>
</entry>
<entry>
<title>T6090: fix policy route migration script. Ensure that tcp flags migration occurs also if only &lt;policy route&gt; is defined.</title>
<updated>2024-03-15T21:35:57+00:00</updated>
<author>
<name>Nicolas Fort</name>
<email>nicolasfort1988@gmail.com</email>
</author>
<published>2024-03-15T21:35:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1048f49e403d7ce3df379bbf48e7fcc60a74e67b'/>
<id>urn:sha1:1048f49e403d7ce3df379bbf48e7fcc60a74e67b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5941: Migration policy delete orphaned interface policy</title>
<updated>2024-01-24T18:00:55+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2024-01-24T13:41:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=53670e1fb201cf1d27b01b4bc796ff097f82552d'/>
<id>urn:sha1:53670e1fb201cf1d27b01b4bc796ff097f82552d</id>
<content type='text'>
We can get orphaned interface policy when the policy name was
removed from the interface but the node `policy` still attached
to the interface

For exmaple we have orphaned node policy on interface:
```
set interfaces bonding bond0 vif 995 policy
```

This causes of incorrect migration and we do not see VLANs on
the bonding interface after update.

Delete policy from all interfaces if policy does not exist
</content>
</entry>
<entry>
<title>firewall: T5834: Migration for 'enable-default-log' to 'default-log'</title>
<updated>2023-12-27T03:10:27+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-12-18T08:57:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=7c40b70af9def9242b30d1fc949288d9da2bd027'/>
<id>urn:sha1:7c40b70af9def9242b30d1fc949288d9da2bd027</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5729: firewall and policy: fix latest migration script</title>
<updated>2023-11-14T10:19:24+00:00</updated>
<author>
<name>Nicolas Fort</name>
<email>nicolasfort1988@gmail.com</email>
</author>
<published>2023-11-14T10:19:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=adf5d78e423922e6b5e34a8383f3039adf590b7b'/>
<id>urn:sha1:adf5d78e423922e6b5e34a8383f3039adf590b7b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5729: firewall: switch to valueless in order to remove unnecessary &lt;enable|disable&gt; commands; log and state moved to new syntax.</title>
<updated>2023-11-10T19:26:35+00:00</updated>
<author>
<name>Nicolas Fort</name>
<email>nicolasfort1988@gmail.com</email>
</author>
<published>2023-11-10T19:26:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c4409d6a4e11bf2acc7b5b96888e2c471c4559e5'/>
<id>urn:sha1:c4409d6a4e11bf2acc7b5b96888e2c471c4559e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5165: Migrate policy local-route rule x destination to address</title>
<updated>2023-09-29T15:56:40+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-09-29T15:56:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9f7a5f79200782f7849cab72f55a39dedf45f214'/>
<id>urn:sha1:9f7a5f79200782f7849cab72f55a39dedf45f214</id>
<content type='text'>
Migrate policy local-route &lt;destination|source&gt; to node address

replace 'policy local-route{v6} rule &lt;tag&gt; destination|source &lt;x.x.x.x&gt;'
     =&gt; 'policy local-route{v6} rule &lt;tag&gt; destination|source address &lt;x.x.x.x&gt;'
</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>policy: T5357: only delete migrated BGP community rules</title>
<updated>2023-07-13T21:26:19+00:00</updated>
<author>
<name>Jonathan Voss</name>
<email>jvoss@onvox.net</email>
</author>
<published>2023-07-13T19:15:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=960cace189d7ace2bea0968646b1348b415e0363'/>
<id>urn:sha1:960cace189d7ace2bea0968646b1348b415e0363</id>
<content type='text'>
</content>
</entry>
</feed>
