** Project changed: openstack-api-site => neutron

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1598254
Title:
  Networking API v2.0 (CURRENT): Create Network Request and Response
  missing the 'description' parameter.

Status in neutron:
  New

Bug description:
  http://developer.openstack.org/api-ref-networking-v2.html

  Create Network Request and Response missing the 'description'
  parameter.

  localadmin@qa4:~/devstack$ neutron --debug net-create my-net 
--description="My test network"
  DEBUG: keystoneclient.session REQ: curl -g -i -X GET 
http://172.29.85.228:5000/v2.0 -H "Accept: application/json" -H "User-Agent: 
python-keystoneclient"
  DEBUG: keystoneclient.session RESP: [200] Content-Length: 339 Vary: 
X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) 
Connection: Keep-Alive Date: Fri, 01 Jul 2016 14:20:33 GMT Content-Type: 
application/json x-openstack-request-id: 
req-137144d2-eb76-4eb7-aa4b-808f2d1c69d9 
  RESP BODY: {"version": {"status": "stable", "updated": 
"2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": 
"application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": 
[{"href": "http://172.29.85.228:5000/v2.0/";, "rel": "self"}, {"href": 
"http://docs.openstack.org/";, "type": "text/html", "rel": "describedby"}]}}

  DEBUG: stevedore.extension found extension EntryPoint.parse('table = 
cliff.formatters.table:TableFormatter')
  DEBUG: stevedore.extension found extension EntryPoint.parse('json = 
cliff.formatters.json_format:JSONFormatter')
  DEBUG: stevedore.extension found extension EntryPoint.parse('shell = 
cliff.formatters.shell:ShellFormatter')
  DEBUG: stevedore.extension found extension EntryPoint.parse('value = 
cliff.formatters.value:ValueFormatter')
  DEBUG: stevedore.extension found extension EntryPoint.parse('yaml = 
cliff.formatters.yaml_format:YAMLFormatter')
  DEBUG: stevedore.extension found extension EntryPoint.parse('html = 
clifftablib.formatters:HtmlFormatter')
  DEBUG: neutronclient.neutron.v2_0.network.CreateNetwork 
get_data(Namespace(admin_state=True, columns=[], formatter='table', 
max_width=0, name=u'my-net', noindent=False, prefix='', 
provider:network_type=None, provider:physical_network=None, 
provider:segmentation_id=None, qos_policy=None, request_format='json', 
tenant_id=None, variables=[]))
  DEBUG: keystoneclient.auth.identity.v2 Making authentication request to 
http://172.29.85.228:5000/v2.0/tokens
  DEBUG: stevedore.extension found extension EntryPoint.parse('router_scheduler 
= neutronclient.neutron.v2_0.cisco.routerscheduler')
  DEBUG: stevedore.extension found extension EntryPoint.parse('hosting_devices 
= neutronclient.neutron.v2_0.cisco.hostingdevice')
  DEBUG: stevedore.extension found extension EntryPoint.parse('router_types = 
neutronclient.neutron.v2_0.cisco.routertype')
  DEBUG: stevedore.extension found extension 
EntryPoint.parse('hosting_device_scheduler = 
neutronclient.neutron.v2_0.cisco.hostingdevicescheduler')
  DEBUG: stevedore.extension found extension 
EntryPoint.parse('hosting_device_templates = 
neutronclient.neutron.v2_0.cisco.hostingdevicetemplate')
  DEBUG: stevedore.extension found extension EntryPoint.parse('hosting_devices 
= networking_cisco.neutronclient.hostingdevice')
  DEBUG: stevedore.extension found extension EntryPoint.parse('router_types = 
networking_cisco.neutronclient.routertype')
  DEBUG: stevedore.extension found extension EntryPoint.parse('policy_profile = 
networking_cisco.neutronclient.policyprofile')
  DEBUG: stevedore.extension found extension 
EntryPoint.parse('hosting_device_templates = 
networking_cisco.neutronclient.hostingdevicetemplate')
  DEBUG: stevedore.extension found extension EntryPoint.parse('router_scheduler 
= networking_cisco.neutronclient.routerscheduler')
  DEBUG: stevedore.extension found extension EntryPoint.parse('network_profile 
= networking_cisco.neutronclient.networkprofile')
  DEBUG: stevedore.extension found extension 
EntryPoint.parse('hosting_device_scheduler = 
networking_cisco.neutronclient.hostingdevicescheduler')
  DEBUG: keystoneclient.session REQ: curl -g -i -X POST 
http://172.29.85.228:9696/v2.0/networks.json -H "User-Agent: 
python-neutronclient" -H "Content-Type: application/json" -H "Accept: 
application/json" -H "X-Auth-Token: 
{SHA1}a7c5442d73f1424784bea97819b8d2b7d8295257" -d '{"network": {"description": 
"My test network", "name": "my-net", "admin_state_up": true}}'
  DEBUG: keystoneclient.session RESP: [201] Date: Fri, 01 Jul 2016 14:20:34 GMT 
Connection: keep-alive Content-Type: application/json; charset=UTF-8 
Content-Length: 613 X-Openstack-Request-Id: 
req-1046640c-3a4f-4fb1-b03d-ed53ad812049 
  RESP BODY: {"network": {"status": "ACTIVE", "router:external": false, 
"availability_zone_hints": [], "availability_zones": [], "description": "My 
test network", "provider:physical_network": "physnet1", "subnets": [], 
"shared": false, "name": "my-net", "created_at": "2016-07-01T14:20:34", "tags": 
[], "updated_at": "2016-07-01T14:20:34", "provider:network_type": "vlan", 
"ipv6_address_scope": null, "tenant_id": "11490fe658324835893b1ba1852d6313", 
"admin_state_up": true, "ipv4_address_scope": null, "port_security_enabled": 
true, "mtu": 1500, "id": "3cb83644-568c-4227-b3ae-f7c02066a021", 
"provider:segmentation_id": 2078}}

  Created a new network:
  +---------------------------+--------------------------------------+
  | Field                     | Value                                |
  +---------------------------+--------------------------------------+
  | admin_state_up            | True                                 |
  | availability_zone_hints   |                                      |
  | availability_zones        |                                      |
  | created_at                | 2016-07-01T14:20:34                  |
  | description               | My test network                      |
  | id                        | 3cb83644-568c-4227-b3ae-f7c02066a021 |
  | ipv4_address_scope        |                                      |
  | ipv6_address_scope        |                                      |
  | mtu                       | 1500                                 |
  | name                      | my-net                               |
  | port_security_enabled     | True                                 |
  | provider:network_type     | vlan                                 |
  | provider:physical_network | physnet1                             |
  | provider:segmentation_id  | 2078                                 |
  | router:external           | False                                |
  | shared                    | False                                |
  | status                    | ACTIVE                               |
  | subnets                   |                                      |
  | tags                      |                                      |
  | tenant_id                 | 11490fe658324835893b1ba1852d6313     |
  | updated_at                | 2016-07-01T14:20:34                  |
  +---------------------------+--------------------------------------+

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to