diff --git a/api-ref/src/docbkx/api-ref-networking.xml b/api-ref/src/docbkx/api-ref-networking.xml index c35d21ff4..2f939fc29 100644 --- a/api-ref/src/docbkx/api-ref-networking.xml +++ b/api-ref/src/docbkx/api-ref-networking.xml @@ -68,5 +68,17 @@ +
+ Networks provider Extended Attributes + + +
+
+ Ports binding Extended Attributes + + +
diff --git a/api-ref/src/wadls/netconn-api/src/api_samples/port-get-resp.json b/api-ref/src/wadls/netconn-api/src/api_samples/port-get-resp.json new file mode 100644 index 000000000..6e6bf6765 --- /dev/null +++ b/api-ref/src/wadls/netconn-api/src/api_samples/port-get-resp.json @@ -0,0 +1,25 @@ +{ + "port":[ + { + "status":"ACTIVE", + "name":"", + "admin_state_up":true, + "network_id":"ebda9658-093b-41ba-80ce-0cf8cb8365d4", + "tenant_id":"63878e4c5dd649d2a980e37aefddfa87", + "binding:vif_type":"ovs", + "device_owner":"compute:None", + "binding:capabilities":{ + "port_filter":false + }, + "mac_address":"fa:16:3e:b9:ef:05", + "fixed_ips":[ + { + "subnet_id":"aca4d43c-c48c-4a2c-9bb6-ba374ef7e135", + "ip_address":"172.24.4.227" + } + ], + "id":"664ebd1a-facd-4c20-948c-07a784475ab0", + "device_id":"f288bb5f-920d-4276-8345-2c0319c16f58" + } + ] +} \ No newline at end of file diff --git a/api-ref/src/wadls/netconn-api/src/api_samples/port-get-resp.xml b/api-ref/src/wadls/netconn-api/src/api_samples/port-get-resp.xml new file mode 100644 index 000000000..2ff161624 --- /dev/null +++ b/api-ref/src/wadls/netconn-api/src/api_samples/port-get-resp.xml @@ -0,0 +1,25 @@ + + + ACTIVE + + True + ebda9658-093b-41ba-80ce-0cf8cb8365d4 + 63878e4c5dd649d2a980e37aefddfa87 + ovs + compute:None + + False + + fa:16:3e:b9:ef:05 + + + aca4d43c-c48c-4a2c-9bb6-ba374ef7e135 + 172.24.4.227 + + + 664ebd1a-facd-4c20-948c-07a784475ab0 + f288bb5f-920d-4276-8345-2c0319c16f58 + diff --git a/api-ref/src/wadls/netconn-api/src/api_samples/port_create_or_update_resp.json b/api-ref/src/wadls/netconn-api/src/api_samples/port_create_or_update_resp.json new file mode 100644 index 000000000..f0e90141e --- /dev/null +++ b/api-ref/src/wadls/netconn-api/src/api_samples/port_create_or_update_resp.json @@ -0,0 +1,26 @@ +{ + "port":[ + { + "status":"DOWN", + "binding:host_id":null, + "name":"sample_port_1", + "admin_state_up":true, + "network_id":"a3775a7d-9f8b-4148-be81-c84bbd0837ce", + "tenant_id":"60cd4f6dbc2f491982a284e7b83b5be3", + "binding:vif_type":"ovs", + "device_owner":"", + "binding:capabilities":{ + "port_filter":true + }, + "mac_address":"fa:16:3e:2e:7c:8a", + "fixed_ips":[ + + ], + "id":"8fb361d8-bab0-418d-b1b8-7204a230fb06", + "security_groups":[ + "99f465bc-0d7c-4142-8829-7ae0179f2fa8" + ], + "device_id":"" + } + ] +} \ No newline at end of file diff --git a/api-ref/src/wadls/netconn-api/src/api_samples/port_create_or_update_resp.xml b/api-ref/src/wadls/netconn-api/src/api_samples/port_create_or_update_resp.xml new file mode 100644 index 000000000..d52950549 --- /dev/null +++ b/api-ref/src/wadls/netconn-api/src/api_samples/port_create_or_update_resp.xml @@ -0,0 +1,24 @@ + + + DOWN + + test_port_1 + True + a3775a7d-9f8b-4148-be81-c84bbd0837ce + 60cd4f6dbc2f491982a284e7b83b5be3 + ovs + + + True + + fa:16:3e:c9:8d:cf + + 7f0aa3f1-883a-43b2-8d1b-e85fac52b417 + + 99f465bc-0d7c-4142-8829-7ae0179f2fa8 + + + diff --git a/api-ref/src/wadls/netconn-api/src/api_samples/ports-create-bulk-resp.json b/api-ref/src/wadls/netconn-api/src/api_samples/ports-create-bulk-resp.json index 8ddbc4790..7780db14f 100644 --- a/api-ref/src/wadls/netconn-api/src/api_samples/ports-create-bulk-resp.json +++ b/api-ref/src/wadls/netconn-api/src/api_samples/ports-create-bulk-resp.json @@ -1,34 +1,48 @@ { -"ports": [ -{ -"status": "DOWN", -"binding:host_id": null, -"name": "sample_port_1", -"admin_state_up": true, -"network_id": "a3775a7d-9f8b-4148-be81-c84bbd0837ce", -"tenant_id": "60cd4f6dbc2f491982a284e7b83b5be3", -"binding:vif_type": "ovs", -"device_owner": "", -"binding:capabilities": {"port_filter": true}, -"mac_address": "fa:16:3e:2e:7c:8a", -"fixed_ips": [], -"id": "8fb361d8-bab0-418d-b1b8-7204a230fb06", -"security_groups": ["99f465bc-0d7c-4142-8829-7ae0179f2fa8"], -"device_id": "" -}, -{ -"status": "DOWN", -"binding:host_id": null, -"name": "sample_port_2", -"admin_state_up": false, -"network_id": "a3775a7d-9f8b-4148-be81-c84bbd0837ce", -"tenant_id": "60cd4f6dbc2f491982a284e7b83b5be3", -"binding:vif_type": "ovs", -"device_owner": "", -"binding:capabilities": {"port_filter": true}, -"mac_address": "fa:16:3e:0a:4e:13", "fixed_ips": [], -"id": "d4c93b0b-f593-424e-a199-d648478a5a3c", -"security_groups": ["99f465bc-0d7c-4142-8829-7ae0179f2fa8"], -"device_id": ""}] -} + "ports":[ + { + "status":"DOWN", + "binding:host_id":null, + "name":"sample_port_1", + "admin_state_up":true, + "network_id":"a3775a7d-9f8b-4148-be81-c84bbd0837ce", + "tenant_id":"60cd4f6dbc2f491982a284e7b83b5be3", + "binding:vif_type":"ovs", + "device_owner":"", + "binding:capabilities":{ + "port_filter":true + }, + "mac_address":"fa:16:3e:2e:7c:8a", + "fixed_ips":[ + + ], + "id":"8fb361d8-bab0-418d-b1b8-7204a230fb06", + "security_groups":[ + "99f465bc-0d7c-4142-8829-7ae0179f2fa8" + ], + "device_id":"" + }, + { + "status":"DOWN", + "binding:host_id":null, + "name":"sample_port_2", + "admin_state_up":false, + "network_id":"a3775a7d-9f8b-4148-be81-c84bbd0837ce", + "tenant_id":"60cd4f6dbc2f491982a284e7b83b5be3", + "binding:vif_type":"ovs", + "device_owner":"", + "binding:capabilities":{ + "port_filter":true + }, + "mac_address":"fa:16:3e:0a:4e:13", + "fixed_ips":[ + ], + "id":"d4c93b0b-f593-424e-a199-d648478a5a3c", + "security_groups":[ + "99f465bc-0d7c-4142-8829-7ae0179f2fa8" + ], + "device_id":"" + } + ] +} \ No newline at end of file diff --git a/api-ref/src/wadls/netconn-api/src/api_samples/ports-create-bulk-resp.xml b/api-ref/src/wadls/netconn-api/src/api_samples/ports-create-bulk-resp.xml index 0b806ce79..fb62a7bbe 100644 --- a/api-ref/src/wadls/netconn-api/src/api_samples/ports-create-bulk-resp.xml +++ b/api-ref/src/wadls/netconn-api/src/api_samples/ports-create-bulk-resp.xml @@ -5,42 +5,42 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> DOWN - + test_port_1 True a3775a7d-9f8b-4148-be81-c84bbd0837ce 60cd4f6dbc2f491982a284e7b83b5be3 ovs - + True fa:16:3e:c9:8d:cf - + 7f0aa3f1-883a-43b2-8d1b-e85fac52b417 99f465bc-0d7c-4142-8829-7ae0179f2fa8 - + DOWN - + test_port_2 True a3775a7d-9f8b-4148-be81-c84bbd0837ce 60cd4f6dbc2f491982a284e7b83b5be3 ovs - + True fa:16:3e:79:90:81 - + a4a81484-c1c4-4b2b-95bc-f8c4484241d0 99f465bc-0d7c-4142-8829-7ae0179f2fa8 - + diff --git a/api-ref/src/wadls/netconn-api/src/api_samples/ports-post-create-bulk-req.json b/api-ref/src/wadls/netconn-api/src/api_samples/ports-post-create-bulk-req.json index 8668db6b9..1430d74fe 100644 --- a/api-ref/src/wadls/netconn-api/src/api_samples/ports-post-create-bulk-req.json +++ b/api-ref/src/wadls/netconn-api/src/api_samples/ports-post-create-bulk-req.json @@ -1,13 +1,14 @@ { -"ports": [ -{ -"name": "sample_port_1", -"admin_state_up": false, -"network_id": "a3775a7d-9f8b-4148-be81-c84bbd0837ce" -}, -{ -"name": "sample_port_2", -"admin_state_up": false, -"network_id": "a3775a7d-9f8b-4148-be81-c84bbd0837ce" -}] + "ports":[ + { + "name":"sample_port_1", + "admin_state_up":false, + "network_id":"a3775a7d-9f8b-4148-be81-c84bbd0837ce" + }, + { + "name":"sample_port_2", + "admin_state_up":false, + "network_id":"a3775a7d-9f8b-4148-be81-c84bbd0837ce" + } + ] } diff --git a/api-ref/src/wadls/netconn-api/src/common.ent b/api-ref/src/wadls/netconn-api/src/common.ent index de9e89811..d088a443d 100644 --- a/api-ref/src/wadls/netconn-api/src/common.ent +++ b/api-ref/src/wadls/netconn-api/src/common.ent @@ -144,13 +144,13 @@

If you specify only a subnet ID, OpenStack Networking allocates an available IP from that subnet to the port. If you specify both a subnet ID and an IP address, OpenStack Networking tries to allocate the specified address to the port.

Security groups. Specify one or more security group IDs.

'> - - +

The The vif type for the specified port.

-

The host where the port is allocated. In some cases, different implementations can run on different hosts.

-

A dictionary the enables the application running on the specified host to pass and receive vif port-specific information to the plug-in.

-

A dictionary that enables the application to pass information about functions that the Networking API povides. Specify the following value: port_filter : Boolean to define whether port filtering features such as security group and anti-MAC/IP spoofing are provided.

+

Read-only. The The vif type for the specified port.

+

The ID of the host where the port is allocated. In some cases, different implementations can run on different hosts.

+

A dictionary the enables the application running on the specified host to pass and receive vif port-specific information to the plug-in.

+

Read-only. A dictionary that enables the application to pass information about functions that the Networking API povides. Specify the following value: port_filter : Boolean to define whether port filtering features such as security group and anti-MAC/IP spoofing are provided.

'> diff --git a/api-ref/src/wadls/netconn-api/src/os-ports-provider-ext.wadl b/api-ref/src/wadls/netconn-api/src/os-ports-binding-ext.wadl similarity index 64% rename from api-ref/src/wadls/netconn-api/src/os-ports-provider-ext.wadl rename to api-ref/src/wadls/netconn-api/src/os-ports-binding-ext.wadl index c65b03233..e993bd4b8 100644 --- a/api-ref/src/wadls/netconn-api/src/os-ports-provider-ext.wadl +++ b/api-ref/src/wadls/netconn-api/src/os-ports-binding-ext.wadl @@ -1,13 +1,13 @@ - + - + @@ -38,8 +38,8 @@ - -

The UUID for the port of interest to you.

+ + The UUID for the port of interest to you. @@ -53,12 +53,10 @@ - -

- Lists ports to which the tenant has access. -

+ + Lists ports to which the tenant has access. - &portListParameters; &portProviderParameters; + &portListParameters; &portBindingParameters; @@ -73,77 +71,70 @@
- -

- Creates a port on the specified network. -

+ + Creates a port on the specified network. - &portCreateParameters; &portProviderParameters; + &portCreateParameters; &portBindingParameters; - &portListParameters; &portProviderParameters; - +
- -

- Shows information for the specified port. -

+ + Shows information for the specified port. - &portListParameters; &portProviderParameters; + &portListParameters; &portBindingParameters; - + - +
- - -

- Updates the specified port. -

+ + Updates the specified port. - &portCreateParameters; &portProviderParameters; + &portCreateParameters; &portBindingParameters; - &portListParameters; &portProviderParameters; - +