GBP Ext-Seg: updating cidr option needs to be removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Group Based Policy Client |
Fix Released
|
Low
|
Sumit Naiksatam |
Bug Description
GBP CLI for external-segment provides the attribute 'cidr' as a editable. However when we try to update it it raises exception as a "Read-only" attribute.
From deployment point of view this cidr/subnet is not something which user would be editing/updating often hence keeping it 'read-only' makes sense.
However we should remove that Option from the CLI :
[root@f3-controller ~(keystone_admin)]# gbp external-
usage: gbp external-
Update External Segment's information.
positional arguments:
EXTERNAL_SEGMENT ID or name of external_segment to update.
optional arguments:
-h, --help show this help message and exit
--request-format {json,xml}
--description DESCRIPTION
--name NAME New name of External Segment
--ip-version {4,6} IP version, default is 4
--cidr CIDR CIDR of External Segment, default is 172.16.0.0/12
--external-route destination=
--port-
--shared SHARED Shared flag
2015-08-19 12:22:51.804 661 DEBUG routes.middleware [req-45faf5ea-
2015-08-19 12:22:51.804 661 DEBUG routes.middleware [req-45faf5ea-
2015-08-19 12:22:51.805 661 DEBUG routes.middleware [req-45faf5ea-
2015-08-19 12:22:51.805 661 DEBUG oslo.messaging.
2015-08-19 12:22:51.807 661 DEBUG amqp [req-45faf5ea-
2015-08-19 12:22:51.808 661 DEBUG amqp [req-45faf5ea-
2015-08-19 12:22:51.808 661 DEBUG amqp [req-45faf5ea-
2015-08-19 12:22:51.809 661 DEBUG neutron.api.v2.base [req-45faf5ea-
2015-08-19 12:22:51.809 661 ERROR neutron.
2015-08-19 12:22:51.809 661 TRACE neutron.
2015-08-19 12:22:51.809 661 TRACE neutron.
2015-08-19 12:22:51.809 661 TRACE neutron.
2015-08-19 12:22:51.809 661 TRACE neutron.
2015-08-19 12:22:51.809 661 TRACE neutron.
2015-08-19 12:22:51.809 661 TRACE neutron.
2015-08-19 12:22:51.809 661 TRACE neutron.
2015-08-19 12:22:51.809 661 TRACE neutron.
Changed in group-based-policy-client: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → Sumit Naiksatam (snaiksat) |
milestone: | none → 1.0.0 |
Changed in group-based-policy-client: | |
status: | Fix Committed → Fix Released |
Fixed by: https:/ /review. openstack. org/#/c/ 234156/