Skip to content

Commit

Permalink
Add and improve the e2e use case of the NIC where the default route i…
Browse files Browse the repository at this point in the history
…s located

Signed-off-by: ty-dc <[email protected]>
  • Loading branch information
ty-dc committed Oct 16, 2023
1 parent 39eb7b4 commit 00dffd8
Show file tree
Hide file tree
Showing 3 changed files with 297 additions and 20 deletions.
5 changes: 3 additions & 2 deletions test/doc/coordinator.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
| C00002 | coordinator in tuneMode: overlay works well | p1 | smoke | done | |
| C00003 | coordinator in tuneMode: underlay with two NIC | p1 | smoke | | |
| C00004 | coordinator in tuneMode: overlay with two NIC | p1 | smoke | | |
| C00005 | In overlay mode: specify the NIC where the default route is located | p2 | | done | |
| C00006 | In underlay mode: specify the NIC where the default route is located | p2 | | | |
| C00005 | In overlay mode: specify the NIC (eth0) where the default route is located, use 'ip r get 8.8.8.8' to see if default route nic is the specify NIC | p2 | | done | |
| C00006 | In underlay mode: specify the NIC (eth0) where the default route is located, use 'ip r get 8.8.8.8' to see if default route nic is the specify NIC | p2 | | | |
| C00007 | ip conflict detection (ipv4, ipv6) | p2 | | done | |
| C00008 | override pod mac prefix | p2 | | done | |
| C00009 | gateway connection detection | p2 | | done | |
| C00010 | auto clean up the dirty rules(routing\neighborhood) while pod starting | p2 | | |
| C00011 | In the default scenario (Do not specify the NIC where the default route is located in any way) , use 'ip r get 8.8.8.8' to see if default route NIC is `net1` | p2 | | |
6 changes: 6 additions & 0 deletions test/e2e/common/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ const (
SpiderPoolConfigmapNameSpace = "kube-system"
)

// Kubeadm configurations
const (
KubeadmConfigmapName = "kubeadm-config"
KubeadmConfigmapNameSpace = "kube-system"
)

// Network configurations
var (
// multus CNI
Expand Down
Loading

0 comments on commit 00dffd8

Please sign in to comment.