Allow setting a tenant router's external IP

Registered by Yuxin Zhuang

Allow to specify the extra net IP(s) for a router in external_gateway_info/external_fixed_ips

crossport https://review.openstack.org/#/c/83664/21/neutron/db/l3_db.py in cascaded neutron.

This patch currently only supports one external IP per router. We need at least two, improvement is required.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Yuxin Zhuang
Direction:
Needs approval
Assignee:
Yili Liang
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Xurong Yang

Related branches

Sprints

Whiteboard

Patch verified, the rest API below:
curl -i -X POST http://4.6.146.92:9696/v2.0/routers.json -H "User-Agent: python-neutronclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token:$TOKENID" -d '{"router": {"external_gateway_info": {"network_id":"66721f60-b9ce-4478-a353-55210508e519","external_fixed_ips":[{"subnet_id": "2c4f7f94-a0ec-4852-8206-0743bd7c5c76", "ip_address": "100.64.1.100"}]}, "name": "test-router", "admin_state_up": true}}'

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.