I will look into this.
I actually think we have a unit tesys for checking the state. However there is a chance the check might be enforced only for the update operation.
Inviato da Samsung Mobile
Unmesh Gurjar <email address hidden> ha scritto:
Public bug reported:
The Quantum Create port API should accept only 2 states (ACTIVE and
DOWN). However, when the create port API is provided with an invalid
state, it creates a port and returns an Accepted(202) response. The API
should return a BadRequest(400) response instead.
** Affects: quantum
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Netstack
Core Developers, which is subscribed to quantum. https://bugs.launchpad.net/bugs/919265
Title:
Quantum create port API accepts invalid state value
Status in OpenStack Quantum (virtual network service):
New
Bug description:
The Quantum Create port API should accept only 2 states (ACTIVE and
DOWN). However, when the create port API is provided with an invalid
state, it creates a port and returns an Accepted(202) response. The
API should return a BadRequest(400) response instead.
I will look into this.
I actually think we have a unit tesys for checking the state. However there is a chance the check might be enforced only for the update operation.
Inviato da Samsung Mobile
Unmesh Gurjar <email address hidden> ha scritto:
Public bug reported:
The Quantum Create port API should accept only 2 states (ACTIVE and
DOWN). However, when the create port API is provided with an invalid
state, it creates a port and returns an Accepted(202) response. The API
should return a BadRequest(400) response instead.
** Affects: quantum
Importance: Undecided
Status: New
-- /bugs.launchpad .net/bugs/ 919265
You received this bug notification because you are a member of Netstack
Core Developers, which is subscribed to quantum.
https:/
Title:
Quantum create port API accepts invalid state value
Status in OpenStack Quantum (virtual network service):
New
Bug description:
The Quantum Create port API should accept only 2 states (ACTIVE and
DOWN). However, when the create port API is provided with an invalid
state, it creates a port and returns an Accepted(202) response. The
API should return a BadRequest(400) response instead.
To manage notifications about this bug go to: /bugs.launchpad .net/quantum/ +bug/919265/ +subscriptions
https:/