Skip to content

IPAM driver name should not be required in network create#25803

Closed
yongtang wants to merge 2 commits intomoby:masterfrom
yongtang:25735-network-create-default-ipam
Closed

IPAM driver name should not be required in network create#25803
yongtang wants to merge 2 commits intomoby:masterfrom
yongtang:25735-network-create-default-ipam

Conversation

@yongtang
Copy link
Member

@yongtang yongtang commented Aug 17, 2016

- What I did

This fix tries to address the issue raise in #25735 and docker-archive-public/docker.engine-api#368
where currently IPAM driver name is required in NetworkCreate ('/networks/create').

- How I did it

This fix (together with engine-api update) changes the type of IPAM in NetworkCreate
to be a pointer so that by default IPAM driver name is not needed.

- How to verify it

This fix has been tested manually, as is specified in docker-archive-public/docker.engine-api#368.

- Description for the changelog

This fix fixes #25735.

This fix is related to #25735 and docker-archive-public/docker.engine-api#368.

A pull request in engine-api has been created separately:
docker-archive-public/docker.engine-api#372

Signed-off-by: Yong Tang yong.tang.github@outlook.com

This fix tries to address the issue raise in 25735 and engine-api/368
where currently IPAM driver name is required in NetworkCreate ('/networks/create').

This fix (together with engine-api update) changes the type of IPAM in NetworkCreate
to be a pointer so that by default IPAM driver name is not needed.

This fix has been tested manually, as is specified in engine-api/368.

This fix fixes 25735.

This fix is related to 25735 and engine-api/368.

A pull request in engine-api has been created separately.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
@stevvooe
Copy link
Contributor

PTAL @mrjana

First pass on the code looks good. Will take a second pass after @mrjana approves.

@cpuguy83
Copy link
Member

cpuguy83 commented Sep 7, 2016

ping @mrjana

@mrjana
Copy link
Contributor

mrjana commented Sep 15, 2016

@yongtang Can you please rebase?

@mrjana
Copy link
Contributor

mrjana commented Sep 15, 2016

@yongtang engine-api moved into docker/api . You may have to fix adjust this PR accordingly.

@yongtang
Copy link
Member Author

Thanks @mrjana. I tried to rebase and found out that this PR has been completely covered in #26200 and there is no further change needed. So I will just close this PR for now. Again, thanks for the help!

@yongtang yongtang closed this Sep 16, 2016
@yongtang yongtang deleted the 25735-network-create-default-ipam branch November 6, 2016 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IPAM Driver name shouldn't be required in network create

6 participants