Skip to content

Commit

Permalink
Temporarily remove second slave iface from bond (#657)
Browse files Browse the repository at this point in the history
Due to a BZ https://bugzilla.redhat.com/show_bug.cgi?id=1906307
temporarily removing second slave iface from the bond.
When resloved, will add it back.

Signed-off-by: Radim Hrazdil <[email protected]>
  • Loading branch information
rhrazdil authored Dec 16, 2020
1 parent e2794b3 commit caaefe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/handler/bonding_default_interface_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
nmstate "github.com/nmstate/kubernetes-nmstate/api/shared"
)

// TODO: When https://bugzilla.redhat.com/show_bug.cgi?id=1906307 is resolved, add firstSecondaryNic to the bond again
func boundUpWithPrimaryAndSecondary(bondName string) nmstate.State {
return nmstate.NewState(fmt.Sprintf(`interfaces:
- name: %s
Expand All @@ -25,8 +26,7 @@ func boundUpWithPrimaryAndSecondary(bondName string) nmstate.State {
primary: %s
slaves:
- %s
- %s
`, bondName, primaryNic, primaryNic, firstSecondaryNic))
`, bondName, primaryNic, primaryNic))
}

func bondAbsentWithPrimaryUp(bondName string) nmstate.State {
Expand Down

0 comments on commit caaefe8

Please sign in to comment.