-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NetworkManager and nmstate versions to NodeNetworkState Status (#834
) * Bump networkmanager-go to 0.3.0 Bump is needed to expose host NetworkManager version for NodeNetworkState Signed-off-by: Tomas Psota <[email protected]> * Add nm and nmstate version to nns Status In NodeNetworkState Status, following fields are added: - host NetworkManager version - container NetworkManager version - container nmstate version Signed-off-by: Tomas Psota <[email protected]>
- Loading branch information
Showing
64 changed files
with
2,049 additions
and
1,062 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package handler | ||
|
||
import ( | ||
. "github.com/onsi/ginkgo" | ||
. "github.com/onsi/gomega" | ||
|
||
"k8s.io/apimachinery/pkg/types" | ||
) | ||
|
||
var _ = Describe("[nns] NNS Dependencies", func() { | ||
BeforeEach(func() { | ||
// Make sure NNSes are present | ||
for _, node := range nodes { | ||
key := types.NamespacedName{Name: node} | ||
_ = nodeNetworkState(key) | ||
} | ||
}) | ||
|
||
It("should include versions of NNS dependencies", func() { | ||
for _, node := range nodes { | ||
key := types.NamespacedName{Name: node} | ||
status := nodeNetworkState(key).Status | ||
Expect(status.HostNetworkManagerVersion).ToNot(BeEmpty()) | ||
Expect(status.HandlerNetworkManagerVersion).ToNot(BeEmpty()) | ||
Expect(status.HandlerNmstateVersion).ToNot(BeEmpty()) | ||
} | ||
}) | ||
}) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.