<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/policy, branch 1.4.0</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</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-04-06T08:58:33+00:00</updated>
<entry>
<title>T6199: remove unused Python imports from migration scripts</title>
<updated>2024-04-06T08:58:33+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=289c5ea60c8087b30952df22cdfe210ed0a5808c'/>
<id>urn:sha1:289c5ea60c8087b30952df22cdfe210ed0a5808c</id>
<content type='text'>
(cherry picked from commit 489e6fababa60d9c0fbfdb421305cbe563432499)

# Conflicts:
#	src/migration-scripts/dhcp-server/9-to-10
#	src/migration-scripts/dhcpv6-server/3-to-4
</content>
</entry>
<entry>
<title>policy: T6130: Revert commit 960cace</title>
<updated>2024-03-22T11:43:36+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=9f3d89349cd8efd49797bf52ef169911869631d3'/>
<id>urn:sha1:9f3d89349cd8efd49797bf52ef169911869631d3</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.

(cherry picked from commit 72378c67ef1eee01a06e2f9a194a0870c6a7fdd2)
</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-16T08:47:06+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=4413e5b633c616f9bc16d9e09d0551dfe9ae2ab1'/>
<id>urn:sha1:4413e5b633c616f9bc16d9e09d0551dfe9ae2ab1</id>
<content type='text'>
(cherry picked from commit 1048f49e403d7ce3df379bbf48e7fcc60a74e67b)
</content>
</entry>
<entry>
<title>T5941: Migration policy delete orphaned interface policy</title>
<updated>2024-02-01T15:38: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=17937d843ba9e266c423ef956a5786dee392153a'/>
<id>urn:sha1:17937d843ba9e266c423ef956a5786dee392153a</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

(cherry picked from commit 53670e1fb201cf1d27b01b4bc796ff097f82552d)
</content>
</entry>
<entry>
<title>firewall: T5834: Migration for 'enable-default-log' to 'default-log'</title>
<updated>2023-12-30T19:32:02+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=201501ace13020e187dfbba4b125eb3f8664046d'/>
<id>urn:sha1:201501ace13020e187dfbba4b125eb3f8664046d</id>
<content type='text'>
(cherry picked from commit 7c40b70af9def9242b30d1fc949288d9da2bd027)
</content>
</entry>
<entry>
<title>T5729: T5590: T5616: backport to sagita fwall marks, fix on firewall logs parsing, and migration to valueless node for log and state matchers</title>
<updated>2023-11-14T11:23:40+00:00</updated>
<author>
<name>Nicolas Fort</name>
<email>nicolasfort1988@gmail.com</email>
</author>
<published>2023-11-13T18:36:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9e053268355f16b9aba6a551febc1e8902cf20c9'/>
<id>urn:sha1:9e053268355f16b9aba6a551febc1e8902cf20c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5165: Migrate policy local-route rule x destination to address</title>
<updated>2023-10-02T09:10:26+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=7386efaf8d24d6fcf8c5dd769cefc80132e854dd'/>
<id>urn:sha1:7386efaf8d24d6fcf8c5dd769cefc80132e854dd</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;'

(cherry picked from commit 9f7a5f79200782f7849cab72f55a39dedf45f214)
</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>
<entry>
<title>policy: T2199: T4605: Migrate policy route interface to `policy route|route6 &lt;name&gt; interface &lt;ifname&gt;`</title>
<updated>2022-11-11T15:37:56+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2022-11-02T14:32:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=586b24e0af1ae57c47c772229fc94ab50dfc1e4f'/>
<id>urn:sha1:586b24e0af1ae57c47c772229fc94ab50dfc1e4f</id>
<content type='text'>
* Include refactor to policy route to allow for deletion of mangle table instead of complex cleanup
* T4605: Rename mangle table to vyos_mangle
</content>
</entry>
</feed>
