Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clusterNetwork/defaultNetwork into multus.conf #169

Merged
merged 5 commits into from
Nov 2, 2018
Merged

Conversation

s1061123
Copy link
Member

@s1061123 s1061123 commented Oct 16, 2018

To support CRD/file/directory, add clusterNetwork/defaultNetwork in multus.conf file.
Verified that kubernetes: v1.12.1.

Fix #157, #153, #131

@s1061123 s1061123 requested review from rkamudhan and dougbtv and removed request for rkamudhan October 16, 2018 10:03
README.md Outdated Show resolved Hide resolved
@s1061123 s1061123 changed the title [WIP]Dev/defaultnet Dev/defaultnet Oct 18, 2018
@s1061123 s1061123 changed the title Dev/defaultnet Add clusterNetwork/defaultNetwork into multus.conf Oct 18, 2018
@coveralls
Copy link

coveralls commented Oct 18, 2018

Pull Request Test Coverage Report for Build 446

  • 79 of 119 (66.39%) changed or added relevant lines in 3 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+2.0%) to 48.423%

Changes Missing Coverage Covered Lines Changed/Added Lines %
multus/multus.go 3 8 37.5%
types/conf.go 14 20 70.0%
k8sclient/k8sclient.go 62 91 68.13%
Files with Coverage Reduction New Missed Lines %
types/conf.go 1 28.24%
Totals Coverage Status
Change from base Build 435: 2.0%
Covered Lines: 476
Relevant Lines: 983

💛 - Coveralls

To support CRD/file/directory, add clusterNetwork/defaultNetwork
in multus.conf file.
To support CRD/file/directory, add clusterNetwork/defaultNetwork
in multus.conf file.
To support CRD/file/directory, add clusterNetwork/defaultNetwork
in multus.conf file.
if n.ClusterNetwork != "" {
err = k8s.GetDefaultNetworks(k8sArgs, n, kubeClient)
if err != nil {
return nil, logging.Errorf("XXX")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to replace 'XXX' with more good error message.

@dougbtv dougbtv added the release-v3 PRs to make it in release branch label Oct 18, 2018
@s1061123
Copy link
Member Author

@dcbw @squeed could you please take a look into it?

@s1061123 s1061123 merged commit 5782dc1 into master Nov 2, 2018
@s1061123 s1061123 deleted the dev/defaultnet branch November 5, 2018 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-v3 PRs to make it in release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants