unable to update enable_snat using router-update command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Won't Fix
|
Low
|
Unassigned | ||
python-openstackclient |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Currently enable_snat is allowed only when setting a gateway.
$ neutron router-gateway-set <router-name> <ext-network> --disable-net
$ neutron router-gateway-set <router-name> <ext-network> --enable-net
There should be provision to set this flag with update command too.
Like
$ neutron router-update --enable-snat
$ neutron router-update --disable-snat
On Neutron, with the below command:
curl -g -i -X PUT http://
Actual Response:
HTTP/1.1 400 Bad Request
Content-Length: 234
Content-Type: application/json; charset=UTF-8
X-Openstack-
Date: Wed, 07 Sep 2016 08:31:22 GMT
{"NeutronError": {"message": "Invalid input for external_
Expected Response : That the external_
In Other words,
Expectation is that user can be allowed to enable/disable SNAT independently if the External Gateway Network ID is set. If not,
then it should be avoided
Changed in python-neutronclient: | |
assignee: | nobody → Kiran (rkiran) |
description: | updated |
Changed in neutron: | |
assignee: | nobody → Reedip (reedip-banerjee) |
Changed in neutron: | |
importance: | Undecided → Low |
Changed in python-openstackclient: | |
assignee: | nobody → Reedip (reedip-banerjee) |
There is workaround, so setting Low priority.