adding network status features

This commit is contained in:
rkamudhan
2018-07-30 11:59:13 +01:00
committed by Kuralamudhan Ramakrishnan
parent 583cbe476a
commit 8bb09518df
6 changed files with 213 additions and 59 deletions

View File

@@ -300,7 +300,7 @@ var _ = Describe("multus operations", func() {
result, err := cmdAdd(args, fExec, fKubeClient)
Expect(err).NotTo(HaveOccurred())
Expect(fExec.addIndex).To(Equal(len(fExec.plugins)))
Expect(fKubeClient.PodCount).To(Equal(1))
Expect(fKubeClient.PodCount).To(Equal(2))
Expect(fKubeClient.NetCount).To(Equal(2))
r := result.(*types020.Result)
// plugin 1 is the masterplugin