-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Push network spec validation down into network.Model
Also add a SetDefaults which avoids updating the spec in the validation function in the CNI case. With this all uses of libnetwork are in manager/allocator/cnmallocator and manager/network/cnm/cnm.go while all uses of CNI are in manager/network/cni/cni.go and agent/exec/containerd/adapter.go. I'd still like to abstract the containerd/adaptor.go case further. Signed-off-by: Ian Campbell <[email protected]>
- Loading branch information
Ian Campbell
committed
Jul 6, 2017
1 parent
a522f8d
commit 9abaffe
Showing
4 changed files
with
131 additions
and
105 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