-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14558 from JacobTanenbaum/CIDR-work
Automatic merge from submit-queue (batch tested with PRs 14558, 16544). Support multiple CIDR addresses for the pod SDN Work in progress PR for multiple CIDR address work. addresses can be defined in the master config file by ``` networkConfig: clusterNetworkCIDR: "" clusterNetworkConfig: - clusterNetworkCIDR: 10.128.0.0/28 - clusterNetworkCIDR: 12.128.0.0/28 externalIPNetworkCIDRs: null ``` or by passing a comma seporated list of them on the command line using --network-cidr="10.128.0.0/28,12.128.0.0/28" besides general review - I could use some feedback on how to do a few things - [ ] How should I deal with a config file that defined ClusterNetworkCIDR the old way? - [ ] In pkg/sdn/plugin/master.go there where checks to see if the cluster cidr was shrunk, I don't think that check is still required. It should be valid to break a large cluster cidr into it's smaller components. Is checking that all objects are allocated in defined places enough? As done by checkclusterobjects() in pkg/sdn/plugin/common.go - [x] I need to change oc get clusternetwork to show a comma separated list - [ ] finish the unit testing review of the work so far and input on the above questions are appreciated @knobunc @dcbw @danwinship @rajatchopra
- Loading branch information
Showing
47 changed files
with
1,191 additions
and
409 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
12 changes: 12 additions & 0 deletions
12
api/protobuf-spec/github_com_openshift_origin_pkg_network_apis_network_v1.proto
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.