← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1272172] [NEW] nicira: any string is accepted at interface-name option of net-gateway-create

 

Public bug reported:

[Issue]

I attempt to net-gateway-create with interface-name which string is no sense.
I expected returning error which code is 400, but it works.

[Reproduce]

openstack@devstack:~/devstack$ neutron net-gateway-create --device \
id=c4369a1c-3fb2-4f45-8ac7-17d15b20508e,interface_name=foobar \
NetworkgatewayName

+-----------+------------------------------------------------------------------------------+
| Field     | Value                                                                        |
+-----------+------------------------------------------------------------------------------+
| default   | False                                                                        |
| devices   | {"interface_name": "foobar", "id": "c4369a1c-3fb2-4f45-8ac7-17d15b20508e"}   |
| id        | 213640a8-7f65-4e72-bdc3-91ce00bd527d                                         |
| name      | NetworkgatewayName                                                           |
| ports     |                                                                              |
| tenant_id | ec2918c3e7514158987c8f04c64d7521                                             |
+-----------+------------------------------------------------------------------------------+

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: nicira

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1272172

Title:
  nicira: any string is accepted at interface-name option of net-
  gateway-create

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  [Issue]

  I attempt to net-gateway-create with interface-name which string is no sense.
  I expected returning error which code is 400, but it works.

  [Reproduce]

  openstack@devstack:~/devstack$ neutron net-gateway-create --device \
  id=c4369a1c-3fb2-4f45-8ac7-17d15b20508e,interface_name=foobar \
  NetworkgatewayName

  +-----------+------------------------------------------------------------------------------+
  | Field     | Value                                                                        |
  +-----------+------------------------------------------------------------------------------+
  | default   | False                                                                        |
  | devices   | {"interface_name": "foobar", "id": "c4369a1c-3fb2-4f45-8ac7-17d15b20508e"}   |
  | id        | 213640a8-7f65-4e72-bdc3-91ce00bd527d                                         |
  | name      | NetworkgatewayName                                                           |
  | ports     |                                                                              |
  | tenant_id | ec2918c3e7514158987c8f04c64d7521                                             |
  +-----------+------------------------------------------------------------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1272172/+subscriptions


Follow ups

References