test-network: add test case for IFB
This commit is contained in:
parent
3295a461b3
commit
b076d5d76d
|
@ -0,0 +1,3 @@
|
|||
[NetDev]
|
||||
Kind=ifb
|
||||
Name=ifb99
|
|
@ -10,6 +10,7 @@ Name=vxcan99
|
|||
Name=vxcan-peer
|
||||
Name=vrf99
|
||||
Name=geneve99
|
||||
Name=ifb99
|
||||
Name=ipiptun99
|
||||
Name=nlmon99
|
||||
Name=xfrm99
|
||||
|
|
|
@ -556,6 +556,7 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities):
|
|||
'gretun97',
|
||||
'gretun98',
|
||||
'gretun99',
|
||||
'ifb99',
|
||||
'ip6gretap98',
|
||||
'ip6gretap99',
|
||||
'ip6gretun96',
|
||||
|
@ -633,6 +634,7 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities):
|
|||
'25-gre-tunnel-local-any.netdev',
|
||||
'25-gre-tunnel-remote-any.netdev',
|
||||
'25-gre-tunnel.netdev',
|
||||
'25-ifb.netdev',
|
||||
'25-ip6gretap-tunnel-local-any.netdev',
|
||||
'25-ip6gretap-tunnel.netdev',
|
||||
'25-ip6gre-tunnel-any-any.netdev',
|
||||
|
@ -1379,6 +1381,13 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities):
|
|||
|
||||
self.wait_online(['nlmon99:carrier'])
|
||||
|
||||
@expectedFailureIfModuleIsNotAvailable('ifb')
|
||||
def test_ifb(self):
|
||||
copy_unit_to_networkd_unit_path('25-ifb.netdev', 'netdev-link-local-addressing-yes.network')
|
||||
start_networkd()
|
||||
|
||||
self.wait_online(['ifb99:degraded'])
|
||||
|
||||
class NetworkdL2TPTests(unittest.TestCase, Utilities):
|
||||
|
||||
links =[
|
||||
|
|
Loading…
Reference in New Issue