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

Bridge driver to support multiple networks #202

Merged
merged 1 commit into from
May 24, 2015
Merged

Bridge driver to support multiple networks #202

merged 1 commit into from
May 24, 2015

Conversation

aboch
Copy link
Contributor

@aboch aboch commented May 23, 2015

  • Will add tests later

Signed-off-by: Alessandro Boch aboch@docker.com

return d.network, nil

if id == "" {
return nil, types.BadRequestErrorf("Invalid network id: %s", id)
Copy link
Contributor

Choose a reason for hiding this comment

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

Make all error strings start with lower case in this PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will.

@aboch
Copy link
Contributor Author

aboch commented May 23, 2015

Ping @mrjana. Thanks for your comments. Took care of them. Please take a look when you get a chance.

Also, given multiple network support, automated and enlarged system provided pool of networks in bridge.go.

n, ok := d.networks[nid]
if !ok {
d.Unlock()
return types.NotFoundErrorf("Network %s does not exist", nid)
Copy link
Contributor

Choose a reason for hiding this comment

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

You still have strings starting with upper case

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will change

@aboch
Copy link
Contributor Author

aboch commented May 24, 2015

ping @mrjana . Pls take a look.

@mrjana
Copy link
Contributor

mrjana commented May 24, 2015

LGTM

@mavenugo
Copy link
Contributor

LGTM. I think this has some level of dependency with #199 and hence will like to get that merged first followed by this PR.

@mrjana
Copy link
Contributor

mrjana commented May 24, 2015

@aboch needs a rebase

Signed-off-by: Alessandro Boch <aboch@docker.com>
@aboch
Copy link
Contributor Author

aboch commented May 24, 2015

ping @mrjana @mavenugo . I rebased. Thanks.

@mavenugo
Copy link
Contributor

thanks @aboch .

mavenugo added a commit that referenced this pull request May 24, 2015
Bridge driver to support multiple networks
@mavenugo mavenugo merged commit 7c289ef into moby:master May 24, 2015
@aboch aboch deleted the mn branch July 28, 2015 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants