Neutron API-site: "Response parameters" of "List networks" missing some params
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
Fix Released
|
Medium
|
Keiichiro Tokunaga |
Bug Description
"Response parameters" of "List networks" is missing the following parameters:
- networks
- mtu
- port_security_
Please see http://
Currently, "Response parameters" lists these params:
- admin_state_up
The administrative state of the network, which is up (true) or
down (false).
- id
The network ID.
- name
The network name.
- shared
Indicates whether this network is shared across all tenants.
- status
The network status.
- subnets
The associated subnets.
- tenant_id
The tenant ID.
- router:external
Indicates whether this network is externally accessible.
- mtu
MTU of a network resource.
- port_security_
The port security enablement status, which is enabled (true) or
disabled (false).
- provider:
The physical network where this network object is implemented.
The Networking API v2.0 does not provide a way to list available
physical networks. For example, the Open vSwitch plug-in configuration
file defines a symbolic name that maps to specific bridges on each
Compute host.
- provider:
The type of physical network that maps to this network resource.
Examples are flat, vlan, vxlan, and gre.
- provider:
An isolated segment on the physical network. The network_type
attribute defines the segmentation model. For example, if the
network_type value is vlan, this ID is a vlan identifier. If the
network_type value is gre, this ID is a gre key.
Actual response is like this:
{
"networks": [
{
"
"id": "0d4af632-
"mtu": 0,
"
"shared": false,
"status": "ACTIVE",
"subnets": [
],
"name": "private4",
"
"
"tenant_id": "56b048ae10a94b
"
"
},
<sniped>
Changed in openstack-api-site: | |
assignee: | nobody → Keiichiro Tokunaga (keiichiro) |
I rechecked the site again, and seems someone just added "mtu" and "port_security_ enabled" . I believe we still need to add "networks" to the table as it's actually in a response. In fact, some other sections are written in that manner. For example, "Response parameters" of "List security groups" has "security_groups". (See http:// developer. openstack. org/api- ref-networking- v2-ext. html#listSecGro ups .)