Skip to content

Commit

Permalink
Merge pull request #6930 from coutinhop/auto-pick-of-#6929-upstream-r…
Browse files Browse the repository at this point in the history
…elease-v3.24

[release-v3.24] Auto pick #6929: Add 'vxlan-v6.calico', 'wireguard.cali', 'wg-v6.cali' to IP
  • Loading branch information
coutinhop authored Oct 31, 2022
2 parents 76f9693 + ed64f3f commit 7b82331
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ var DEFAULT_INTERFACES_TO_EXCLUDE []string = []string{
"^docker.*", "^cbr.*", "^dummy.*",
"^virbr.*", "^lxcbr.*", "^veth.*", "^lo",
"^cali.*", "^tunl.*", "^flannel.*", "^kube-ipvs.*", "^cni.*",
"^vxlan.calico.*",
"^vxlan\\.calico.*", "^vxlan-v6\\.calico.*", "^wireguard\\.cali.*", "^wg-v6\\.cali.*",
}
18 changes: 18 additions & 0 deletions node/pkg/lifecycle/startup/autodetection/interfaces_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,22 @@ var _ = DescribeTable("GetInterfaces",
},
expectFound: false,
}),
Entry("should skip vxlan-v6.calico", getInterfacesTestCase{
getInterfaces: func() ([]net.Interface, error) {
return []net.Interface{{Index: 0, Name: "vxlan-v6.calico"}}, nil
},
expectFound: false,
}),
Entry("should skip wireguard.cali", getInterfacesTestCase{
getInterfaces: func() ([]net.Interface, error) {
return []net.Interface{{Index: 0, Name: "wireguard.cali"}}, nil
},
expectFound: false,
}),
Entry("should skip wg-v6.cali", getInterfacesTestCase{
getInterfaces: func() ([]net.Interface, error) {
return []net.Interface{{Index: 0, Name: "wg-v6.cali"}}, nil
},
expectFound: false,
}),
)

0 comments on commit 7b82331

Please sign in to comment.