<feed xmlns='http://www.w3.org/2005/Atom'>
<title>veeos-1x.git/smoketest/scripts/cli/test_interfaces_bridge.py, branch equuleus</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos-contrib/veeos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos-contrib/veeos-1x.git/atom?h=equuleus</id>
<link rel='self' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/atom?h=equuleus'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/'/>
<updated>2023-08-28T19:21:14+00:00</updated>
<entry>
<title>T5428: fix DHCP address renewal/release when running in VRF</title>
<updated>2023-08-28T19:21:14+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-08-28T19:21:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=47d9c8067135b97bc1fbc5450dc5fa9b8e65e345'/>
<id>urn:sha1:47d9c8067135b97bc1fbc5450dc5fa9b8e65e345</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bridge: T4632: vlan aware bridge lacks CPU forwarding</title>
<updated>2022-08-22T15:56:50+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-08-22T15:52:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=3b6f8bf8f7499af4a6841e5e1f1dafae9db55c38'/>
<id>urn:sha1:3b6f8bf8f7499af4a6841e5e1f1dafae9db55c38</id>
<content type='text'>
The VLAN aware bridge was forwarding traffic between member ports, but traffic
destined torwards the CPU was dropped. This resulted in a gateway not reachable
or DHCP leases that could not be handed out.

Tested via:

VyOS
set interfaces bridge br0 enable-vlan
set interfaces bridge br0 member interface eth1 allowed-vlan '10'
set interfaces bridge br0 member interface eth1 allowed-vlan '20'
set interfaces bridge br0 member interface eth1 allowed-vlan '30'
set interfaces bridge br0 member interface eth1 allowed-vlan '40'
set interfaces bridge br0 member interface eth1 native-vlan '40'
set interfaces bridge br0 member interface eth2 allowed-vlan '30'
set interfaces bridge br0 member interface eth2 allowed-vlan '20'
set interfaces bridge br0 member interface eth2 allowed-vlan '10'
set interfaces bridge br0 member interface eth2 allowed-vlan '40'
set interfaces bridge br0 vif 10 address '10.0.10.1/24'
set interfaces bridge br0 vif 20 address '10.0.20.1/24'
set interfaces bridge br0 vif 30 address '10.0.30.1/24'
set interfaces bridge br0 vif 40 address '10.0.40.1/24'

Arista vEOS

vlan 10,20,30,40
interface Ethernet1
   switchport trunk allowed vlan 10,20,30,40
interface Vlan10
   ip address 10.0.10.2/24
interface Vlan20
   ip address 10.0.20.2/24
interface Vlan30
   ip address 10.0.30.2/24
interface Vlan40
   ip address 10.0.40.2/24
interface Ethernet1
   switchport trunk allowed vlan 10,20,30,40
   switchport mode trunk
   spanning-tree portfast

Cisco vIOS

interface GigabitEthernet0/0
 ip address 10.0.40.3 255.255.255.0
 duplex auto
 speed auto
 media-type rj45
!
interface GigabitEthernet0/0.10
 encapsulation dot1Q 10
 ip address 10.0.10.3 255.255.255.0
!
interface GigabitEthernet0/0.20
 encapsulation dot1Q 20
 ip address 10.0.20.3 255.255.255.0
!
interface GigabitEthernet0/0.30
 encapsulation dot1Q 30
 ip address 10.0.30.3 255.255.255.0
!

(cherry picked from commit f60d0e1ce029925b843f635b36154c90049b9577)
</content>
</entry>
<entry>
<title>smoketest: bridge: T4565: changes to lower interfaces must not destroy VLAN aware bridge</title>
<updated>2022-07-31T17:43:14+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-07-30T18:12:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=9d0ca97cc0f1b38d1b677e3c77ab0da8f32e54df'/>
<id>urn:sha1:9d0ca97cc0f1b38d1b677e3c77ab0da8f32e54df</id>
<content type='text'>
(cherry picked from commit dbc8e243e13b370e74c6ab20b642c881b6377bd5)
</content>
</entry>
<entry>
<title>smoketest: bridge: also test QinQ bridge member interfaces</title>
<updated>2022-07-18T06:14:33+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-07-11T06:13:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=51455fc033cd41e1a105800b2a901e4a32df6058'/>
<id>urn:sha1:51455fc033cd41e1a105800b2a901e4a32df6058</id>
<content type='text'>
(cherry picked from commit 74d6a7e4fc9e2e929c5f899070e6fc3e3e3b5ceb)
</content>
</entry>
<entry>
<title>smoketest: dhcp: T4203: move testcase to base class</title>
<updated>2022-02-20T18:35:54+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-02-20T17:50:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=e86eb6f311270b4f0ed539b25c7627258b2bb0ed'/>
<id>urn:sha1:e86eb6f311270b4f0ed539b25c7627258b2bb0ed</id>
<content type='text'>
We do not only provide DHCP functionality to ethernet interfaces, it's a common
feature so the testcase should be made available for multiple interface types.

(cherry picked from commit 5d14a04b6ffbd592e8257d98d71da5acb1bb45a9)
</content>
</entry>
<entry>
<title>bridge: T3137: backport vlan features from 1.4 current</title>
<updated>2021-08-22T13:13:48+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-08-22T13:13:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=785af7cf6603a81adc432537bf97987f59d818a3'/>
<id>urn:sha1:785af7cf6603a81adc432537bf97987f59d818a3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>smoketest: add shim for every test to re-use common tasts</title>
<updated>2021-07-25T19:10:25+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-03-17T18:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=fb94d0b6091e09099c972355886918ef63ee9d97'/>
<id>urn:sha1:fb94d0b6091e09099c972355886918ef63ee9d97</id>
<content type='text'>
Currently every smoketest does the setup and destruction of the configsession
on its own durin setUp(). This creates a lot of overhead and one configsession
should be re-used during execution of every smoketest script.

In addiion a test that failed will leaf the system in an unconsistent state.
For this reason before the test is executed we will save the running config
to /tmp and the will re-load the config after the test has passed, always
ensuring a clean environment for the next test.

(cherry picked from commit 0f3def974fbaa4a26e6ad590ee37dd965bc2358f)
</content>
</entry>
<entry>
<title>smoketest: dhcpv6: add client smoketests</title>
<updated>2021-01-30T08:59:58+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-01-30T08:59:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=56cacc0624a458206ad03c8add0fb19feda8b2ab'/>
<id>urn:sha1:56cacc0624a458206ad03c8add0fb19feda8b2ab</id>
<content type='text'>
(cherry-picked form commit 99f4140d1c5b1813c75790a8a99aae8fa84d13ee)
</content>
</entry>
<entry>
<title>smoketest: refactor setUp() for all interface based testcases</title>
<updated>2021-01-27T18:51:06+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-01-26T19:07:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=788f741a0beb9a2dbf52f8c7b9d0b0903ec6a87c'/>
<id>urn:sha1:788f741a0beb9a2dbf52f8c7b9d0b0903ec6a87c</id>
<content type='text'>
It does not make sense (at all!) to re-initialize the entire class with every
call to setUp(). We neither change the enabled/disabled tastcases dynamically,
not do we adjust the testinterfaces during a run.

Remove the runtime overhead and place one-time init calls into setUpClass()
instead.

(cherry picked from commit b48890396dcff074d1e9336ca1db9d3eafe2a12f)
</content>
</entry>
<entry>
<title>smoketest: bridge: remove failfast=True</title>
<updated>2021-01-14T20:48:23+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-01-14T20:48:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=b6e57c32a1879b75f5102b01dd1d389539c1e181'/>
<id>urn:sha1:b6e57c32a1879b75f5102b01dd1d389539c1e181</id>
<content type='text'>
(cherry picked from commit 3ece840792011fcca00617e42b049e1414ebb1d6)
</content>
</entry>
</feed>
