Révision b6b5925f
Fix problem with interfaces that contain :
spec/classes/bridges_spec.rb | ||
---|---|---|
14 | 14 |
'lo' => {}, |
15 | 15 |
'br0' => {}, |
16 | 16 |
'br1-2' => {}, |
17 |
} }, |
|
17 |
'br1-2:1' => {}, |
|
18 |
} } |
|
18 | 19 |
) |
19 | 20 |
end |
20 | 21 |
|
... | ... | |
35 | 36 |
content: 'iifname br1 oifname br1 accept', |
36 | 37 |
) |
37 | 38 |
} |
39 |
|
|
40 |
it { |
|
41 |
expect(subject).to contain_nftables__rule('default_fwd-bridge_br1_2_1_br1_2_1').with( |
|
42 |
order: '08', |
|
43 |
content: 'iifname br1-2:1 oifname br1-2:1 accept' |
|
44 |
) |
|
45 |
} |
|
38 | 46 |
end |
39 | 47 |
end |
40 | 48 |
end |
Formats disponibles : Unified diff