Skip to content

Commit

Permalink
should be able to use mac and ip provided by k8s.v1.cni.cncf.io/netwo…
Browse files Browse the repository at this point in the history
…rks annotation fix e2e version (#4878)

Signed-off-by: clyi <[email protected]>
  • Loading branch information
changluyi authored Dec 27, 2024
1 parent 93759b9 commit 9b00723
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/e2e/multus/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,11 @@ var _ = framework.SerialDescribe("[group:multus]", func() {
})

framework.ConformanceIt("should be able to use mac and ip provided by k8s.v1.cni.cncf.io/networks annotation", func() {

if f.VersionPriorTo(1, 13) {
ginkgo.Skip("this feature is supported from version 1.13")
}

provider := fmt.Sprintf("%s.%s.%s", nadName, namespaceName, util.OvnProvider)
ginkgo.By("Creating network attachment definition " + nadName)
nad := framework.MakeOVNNetworkAttachmentDefinition(nadName, namespaceName, provider, nil)
Expand Down

0 comments on commit 9b00723

Please sign in to comment.