Adding tags to responses for relevant resources

Adding tag to responses for resources that support
standard attributes.

Closes-bug: #1748982

Change-Id: Ie72edd710c420bed3f0c1bf6dce307fb09e4e8ba
Signed-off-by: Michal Kelner Mishali <mkelnermishal@vmware.com>
This commit is contained in:
Michal Kelner Mishali 2018-04-09 13:49:23 +03:00
parent 64209e2ec4
commit 65da70c5d6
56 changed files with 217 additions and 25 deletions

View File

@ -23,6 +23,13 @@ Resource timestamps
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
Tag extension
=============
The ``standard-attr-tag`` adds Tag support for resources with
standard attributes by adding the ``tags`` attribute
allowing consumers to associate tags with resources.
List floating IPs
=================
@ -96,6 +103,7 @@ Response Parameters
- fixed_ip_address: floatingip-fixed_ip_address
- floating_ip_address: floating_ip_address
- port_id: floatingip-port_id
- tags: tags
Response Example
----------------
@ -207,6 +215,7 @@ Response Parameters
- floating_ip_address: floating_ip_address
- port_id: floatingip-port_id
- id: floatingip-id
- tags: tags
Response Example
----------------
@ -271,6 +280,7 @@ Response Parameters
- floating_ip_address: floating_ip_address
- port_id: floatingip-port_id
- id: floatingip-id
- tags: tags
Response Example
----------------
@ -349,6 +359,7 @@ Response Parameters
- dns_domain: dns_domain
- dns_name: dns_name
- port_details: floating_port_details
- tags: tags
Response Example
----------------

View File

@ -126,6 +126,13 @@ Resource timestamps
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
Tag extension
=============
The ``standard-attr-tag`` adds Tag support for resources with
standard attributes by adding the ``tags`` attribute
allowing consumers to associate tags with resources.
VLAN transparency extension
===========================
@ -195,6 +202,7 @@ Response Parameters
- vlan_transparent: vlan_transparent
- description: description
- is_default: network_is_default
- tags: tags
Response Example
----------------
@ -298,6 +306,7 @@ Response Parameters
- updated_at: updated_at_resource
- description: description
- is_default: network_is_default
- tags: tags
Response Example
----------------
@ -425,6 +434,7 @@ Response Parameters
- vlan_transparent: vlan_transparent
- description: description
- is_default: network_is_default
- tags: tags
Response Example
----------------
@ -535,6 +545,7 @@ Response Parameters
- vlan_transparent: vlan_transparent
- description: description
- is_default: network_is_default
- tags: tags
Response Example
----------------
@ -634,6 +645,7 @@ Response Parameters
- vlan_transparent: vlan_transparent
- description: description
- is_default: network_is_default
- tags: tags
Response Example
----------------

View File

@ -102,6 +102,14 @@ Resource timestamps
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
Tag extension
=============
The ``standard-attr-tag`` adds Tag support for resources with
standard attributes by adding the ``tags`` attribute
allowing consumers to associate tags with resources.
Show port details
=================
@ -161,6 +169,7 @@ Response Parameters
- qos_policy_id: qos_policy_id-port-response
- security_groups: port-security_groups
- status: port-status
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource
@ -280,6 +289,7 @@ Response Parameters
- qos_policy_id: qos_policy_id-port-response
- security_groups: port-security_groups
- status: port-status
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource
@ -410,6 +420,7 @@ Response Parameters
- qos_policy_id: qos_policy_id-port-response
- security_groups: port-security_groups
- status: port-status
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource
@ -464,6 +475,7 @@ Request
- project_id: project_id-request
- qos_policy_id: qos_policy_id-port-request
- security_groups: port-security_groups-request
- tags: tags
- tenant_id: project_id-request
Request Example
@ -512,6 +524,7 @@ Response Parameters
- qos_policy_id: qos_policy_id-port-response
- security_groups: port-security_groups
- status: port-status
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource
@ -607,6 +620,7 @@ Response Parameters
- qos_policy_id: qos_policy_id-port-response
- security_groups: port-security_groups
- status: port-status
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource

View File

@ -104,6 +104,13 @@ The QoS default extension (``qos-default``) allows a per project
default QoS policy by adding the ``is_default`` attribute
to ``policy`` resources.
Tag extension
=============
The ``standard-attr-tag`` adds Tag support for resources with
standard attributes by adding the ``tags`` attribute
allowing consumers to associate tags with resources.
List QoS policies
=================
@ -163,6 +170,7 @@ Response Parameters
- name: name
- created_at: created_at_resource
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------
@ -406,6 +414,7 @@ Response Parameters
- id: qos_bandwidth_limit_rule-id
- max_burst_kbps: max_burst_kbps-response
- direction: qos-rule-direction-response
- tags: tags
Response Example
----------------
@ -451,6 +460,7 @@ Response Parameters
- id: qos_bandwidth_limit_rule-id
- max_burst_kbps: max_burst_kbps-response
- direction: qos-rule-direction-response
- tags: tags
Response Example
----------------
@ -487,6 +497,7 @@ Response Parameters
- id: qos_bandwidth_limit_rule-id
- max_burst_kbps: max_burst_kbps-response
- direction: qos-rule-direction-response
- tags: tags
Response Example
----------------
@ -536,6 +547,7 @@ Response Parameters
- id: qos_bandwidth_limit_rule-id
- max_burst_kbps: max_burst_kbps-response
- direction: qos-rule-direction-update-response
- tags: tags
Response Example
----------------
@ -605,6 +617,7 @@ Response Parameters
- dscp_marking_rules: dscp_marking_rules
- dscp_mark: dscp_mark-response
- id: qos_dscp_marking_rule-id
- tags: tags
Response Example
----------------
@ -646,6 +659,7 @@ Response Parameters
- dscp_marking_rule: dscp_marking_rule
- dscp_mark: dscp_mark-response
- id: qos_dscp_marking_rule-id
- tags: tags
Response Example
----------------
@ -680,6 +694,7 @@ Response Parameters
- dscp_marking_rule: dscp_marking_rule
- dscp_mark: dscp_mark
- id: qos_dscp_marking_rule-id
- tags: tags
Response Example
----------------
@ -725,6 +740,7 @@ Response Parameters
- dscp_marking_rule: dscp_marking_rule
- dscp_mark: dscp_mark-response
- id: qos_dscp_marking_rule-id
- tags: tags
Response Example
----------------
@ -802,6 +818,7 @@ Response Parameters
- min_kbps: min_kbps-response
- id: qos_minimum_bandwidth_rule-id
- direction: qos-rule-direction-response
- tags: tags
Response Example
----------------
@ -845,6 +862,7 @@ Response Parameters
- min_kbps: min_kbps-response
- id: qos_minimum_bandwidth_rule-id
- direction: qos-rule-direction-response
- tags: tags
Response Example
----------------
@ -880,6 +898,7 @@ Response Parameters
- min_kbps: min_kbps-response
- id: qos_minimum_bandwidth_rule-id
- direction: qos-rule-direction-response
- tags: tags
Response Example
----------------
@ -927,6 +946,7 @@ Response Parameters
- min_kbps: min_kbps-response
- id: qos_minimum_bandwidth_rule-id
- direction: qos-rule-direction-update-response
- tags: tags
Response Example
----------------

View File

@ -68,6 +68,14 @@ router by introducing the ``service_type_id`` parameter that can be
used to associate the router with an existing ``service-provider``,
see `Service providers`_.
Tag extension
=============
The ``standard-attr-tag`` adds Tag support for resources with
standard attributes by adding the ``tags`` attribute
allowing consumers to associate tags with resources.
List routers
============
@ -135,6 +143,7 @@ Response Parameters
- flavor_id: router-flavor_id
- created_at: created_at_resource
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------
@ -213,6 +222,7 @@ Response Parameters
- flavor_id: router-flavor_id
- created_at: created_at_resource
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------
@ -271,6 +281,7 @@ Response Parameters
- flavor_id: router-flavor_id
- created_at: created_at_resource
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------
@ -340,6 +351,7 @@ Response Parameters
- flavor_id: router-flavor_id
- created_at: created_at_resource
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------
@ -462,6 +474,7 @@ Response Parameters
- project_id: router-project_id-interface
- port_id: router-port_id
- network_id: router-network_id-interface
- tags: tags
Response Example
----------------
@ -536,6 +549,7 @@ Response Parameters
- project_id: router-project_id-interface
- port_id: router-port_id
- network_id: router-network_id-interface
- tags: tags
Response Example
----------------

View File

@ -24,7 +24,8 @@
"device_owner": "compute:nova",
"mac_address": "fa:16:3e:b1:3b:30",
"device_id": "8e3941b4-a6e9-499f-a1ac-2a4662025cba"
}
},
"tags": ["tag1,tag2"]
},
{
"router_id": null,
@ -42,7 +43,8 @@
"port_id": null,
"id": "61cea855-49cb-4846-997d-801b70c71bdd",
"status": "DOWN",
"port_details": null
"port_details": null,
"tags": ["tag1,tag2"]
}
]
}

View File

@ -23,6 +23,7 @@
"device_owner": "compute:nova",
"mac_address": "fa:16:3e:b1:3b:30",
"device_id": "8e3941b4-a6e9-499f-a1ac-2a4662025cba"
}
},
"tags": ["tag1,tag2"]
}
}

View File

@ -13,6 +13,7 @@
"created_at": "2016-12-21T10:55:50Z",
"updated_at": "2016-12-22T03:13:49Z",
"revision_number": 3,
"port_details": null
"port_details": null,
"tags": ["tag1,tag2"]
}
}

View File

@ -23,6 +23,7 @@
"device_owner": "compute:nova",
"mac_address": "fa:16:3e:b1:3b:30",
"device_id": "8e3941b4-a6e9-499f-a1ac-2a4662025cba"
}
},
"tags": ["tag1,tag2"]
}
}

View File

@ -13,6 +13,7 @@
"revision_number": 3,
"router_id": "d23abc8d-2991-4a55-ba98-2aaea84cc72f",
"status": "ACTIVE",
"tags": ["tag1,tag2"],
"tenant_id": "4969c491a3c74ee4af974e6d800c62de",
"updated_at": "2016-12-22T03:13:49Z",
"port_details": {

View File

@ -21,6 +21,7 @@
"shared": false,
"status": "ACTIVE",
"subnets": [],
"tags": ["tag1,tag2"],
"tenant_id": "9bacb3c5d39d41a79512987f338cf177",
"updated_at": "2016-03-08T20:19:41",
"vlan_transparent": false,

View File

@ -16,6 +16,7 @@
"mtu": 1500,
"port_security_enabled": true,
"project_id": "9bacb3c5d39d41a79512987f338cf177",
"tags": ["tag1,tag2"],
"tenant_id": "9bacb3c5d39d41a79512987f338cf177",
"updated_at": "2016-03-08T20:19:41",
"qos_policy_id": "6a8454ade84346f59e8d40665f878b2e",

View File

@ -35,6 +35,7 @@
"subnets": [
"54d6f61d-db07-451c-9ab3-b9609b6b6f0b"
],
"tags": ["tag1,tag2"],
"tenant_id": "4fd44f30292945e481c7b8a0c8908869",
"updated_at": "2016-03-08T20:19:41",
"vlan_transparent": false,

View File

@ -14,6 +14,7 @@
"provider:physical_network": "public",
"admin_state_up": true,
"project_id": "9bacb3c5d39d41a79512987f338cf177",
"tags": ["tag1,tag2"],
"tenant_id": "9bacb3c5d39d41a79512987f338cf177",
"updated_at": "2016-03-08T20:19:41",
"qos_policy_id": "6a8454ade84346f59e8d40665f878b2e",

View File

@ -26,6 +26,7 @@
"subnets": [
"54d6f61d-db07-451c-9ab3-b9609b6b6f0b"
],
"tags": ["tag1,tag2"],
"tenant_id": "4fd44f30292945e481c7b8a0c8908869",
"updated_at": "2016-03-08T20:19:41",
"vlan_transparent": false,

View File

@ -23,6 +23,7 @@
"subnets": [
"54d6f61d-db07-451c-9ab3-b9609b6b6f0b"
],
"tags": ["tag1,tag2"],
"tenant_id": "4fd44f30292945e481c7b8a0c8908869",
"updated_at": "2016-03-08T20:19:41",
"vlan_transparent": false,

View File

@ -23,6 +23,7 @@
"subnets": [
"54d6f61d-db07-451c-9ab3-b9609b6b6f0b"
],
"tags": ["tag1,tag2"],
"tenant_id": "4fd44f30292945e481c7b8a0c8908869",
"updated_at": "2016-03-08T20:19:41",
"vlan_transparent": false,

View File

@ -21,6 +21,7 @@
"shared": false,
"status": "ACTIVE",
"subnets": [],
"tags": ["tag1,tag2"],
"tenant_id": "4fd44f30292945e481c7b8a0c8908869",
"updated_at": "2016-03-08T20:19:41",
"vlan_transparent": false,
@ -49,6 +50,7 @@
"shared": false,
"status": "ACTIVE",
"subnets": [],
"tags": ["tag1,tag2"],
"tenant_id": "4fd44f30292945e481c7b8a0c8908869",
"updated_at": "2016-03-08T20:19:41",
"vlan_transparent": false,

View File

@ -27,6 +27,7 @@
"subnets": [
"54d6f61d-db07-451c-9ab3-b9609b6b6f0b"
],
"tags": ["tag1,tag2"],
"tenant_id": "4fd44f30292945e481c7b8a0c8908869",
"updated_at": "2016-03-08T20:19:41",
"vlan_transparent": true,
@ -73,6 +74,7 @@
"subnets": [
"08eae331-0402-425a-923c-34f7cfe39c1b"
],
"tags": ["tag1,tag2"],
"tenant_id": "26a7980765d0414dbc1fc1f88cdb7e6e",
"updated_at": "2016-03-08T20:19:41",
"vlan_transparent": false,

View File

@ -56,6 +56,7 @@
"f0ac4394-7e4a-4409-9701-ba8be283dbc3"
],
"status": "DOWN",
"tags": ["tag1,tag2"],
"tenant_id": "d6700c0c9ffa4f1cb322cd4a1f3906fa",
"updated_at": "2016-03-08T20:19:41",
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",

View File

@ -45,6 +45,7 @@
"revision_number": 1,
"security_groups": [],
"status": "ACTIVE",
"tags": ["tag1,tag2"],
"tenant_id": "7e02058126cc4950b75f9970368ba177",
"updated_at": "2016-03-08T20:19:41",
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae"

View File

@ -43,6 +43,7 @@
"ce0179d6-8a94-4f7c-91c2-f3038e2acbd0"
],
"status": "DOWN",
"tags": ["tag1,tag2"],
"tenant_id": "522eda8d23124b25bf03fe44f1986b74",
"updated_at": "2016-03-08T20:19:41",
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",

View File

@ -44,6 +44,7 @@
"f0ac4394-7e4a-4409-9701-ba8be283dbc3"
],
"status": "DOWN",
"tags": ["tag1,tag2"],
"tenant_id": "d6700c0c9ffa4f1cb322cd4a1f3906fa",
"updated_at": "2016-03-08T20:19:41",
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae"

View File

@ -37,6 +37,7 @@
"revision_number": 1,
"security_groups": [],
"status": "ACTIVE",
"tags": ["tag1,tag2"],
"tenant_id": "7e02058126cc4950b75f9970368ba177",
"updated_at": "2016-03-08T20:19:41",
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae"

View File

@ -43,6 +43,7 @@
"ce0179d6-8a94-4f7c-91c2-f3038e2acbd0"
],
"status": "DOWN",
"tags": ["tag1,tag2"],
"tenant_id": "522eda8d23124b25bf03fe44f1986b74",
"updated_at": "2016-03-08T20:19:41",
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",

View File

@ -42,7 +42,9 @@
"status": "ACTIVE",
"tenant_id": "",
"updated_at": "2016-03-08T20:19:41",
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae"
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",
"tags": ["tag1,tag2"],
"tenant_id": ""
},
{
"admin_state_up": true,
@ -86,7 +88,9 @@
"status": "ACTIVE",
"tenant_id": "d397de8a63f341818f198abb0966f6f3",
"updated_at": "2016-03-08T20:19:41",
"qos_policy_id": null
"qos_policy_id": null,
"tags": ["tag1,tag2"],
"tenant_id": "d397de8a63f341818f198abb0966f6f3"
}
]
}

View File

@ -34,6 +34,7 @@
"f0ac4394-7e4a-4409-9701-ba8be283dbc3"
],
"status": "DOWN",
"tags": ["tag1,tag2"],
"tenant_id": "d6700c0c9ffa4f1cb322cd4a1f3906fa",
"updated_at": "2016-03-08T20:19:41",
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",
@ -74,6 +75,7 @@
"f0ac4394-7e4a-4409-9701-ba8be283dbc3"
],
"status": "DOWN",
"tags": ["tag1,tag2"],
"tenant_id": "d6700c0c9ffa4f1cb322cd4a1f3906fa",
"updated_at": "2016-03-08T20:19:41",
"qos_policy_id": null,

View File

@ -37,6 +37,7 @@
"revision_number": 1,
"security_groups": [],
"status": "ACTIVE",
"tags": ["tag1,tag2"],
"tenant_id": "",
"updated_at": "2016-03-08T20:19:41",
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",
@ -79,6 +80,7 @@
"revision_number": 1,
"security_groups": [],
"status": "ACTIVE",
"tags": ["tag1,tag2"],
"tenant_id": "d397de8a63f341818f198abb0966f6f3",
"updated_at": "2016-03-08T20:19:41",
"qos_policy_id": null,

View File

@ -25,7 +25,8 @@
"id": "d9c021d5-5433-4d7c-8bfa-69cca486aac8",
"qos_policy_id": "46ebaec0-0570-43ac-82f6-60d2b03168c4"
}
]
],
"tags": ["tag1,tag2"]
}
]
}

View File

@ -10,6 +10,7 @@
"tenant_id": "8d4c70a21fed4aeba121a1a429ba0d04",
"created_at": "2018-04-03T21:26:39Z",
"updated_at": "2018-04-03T21:26:39Z",
"shared": false
"shared": false,
"tags": ["tag1,tag2"]
}
}

View File

@ -24,6 +24,7 @@
"dscp_mark": 26,
"type": "dscp_marking"
}
]
],
"tags": ["tag1,tag2"]
}
}

View File

@ -9,6 +9,7 @@
"created_at": "2018-04-03T21:26:39Z",
"updated_at": "2018-04-03T21:26:39Z",
"tenant_id": "8d4c70a21fed4aeba121a1a429ba0d04",
"shared": false
"shared": false,
"tags": ["tag1,tag2"]
}
}

View File

@ -7,5 +7,6 @@
"a2f1f29d-571b-4533-907f-5803ab96ead1"
],
"project_id": "0bd18306d801447bb457a46252d82d13",
"tenant_id": "0bd18306d801447bb457a46252d82d13"
"tenant_id": "0bd18306d801447bb457a46252d82d13",
"tags": ["tag1,tag2"]
}

View File

@ -28,6 +28,7 @@
"updated_at": "2018-03-19T19:17:22Z",
"project_id": "0bd18306d801447bb457a46252d82d13",
"tenant_id": "0bd18306d801447bb457a46252d82d13",
"service_type_id": null
"service_type_id": null,
"tags": ["tag1,tag2"]
}
}

View File

@ -7,5 +7,6 @@
"4e5fe97c-82bc-432e-87d8-06d7e157dffa"
],
"project_id": "0bd18306d801447bb457a46252d82d13",
"tags": ["tag1,tag2"],
"tenant_id": "0bd18306d801447bb457a46252d82d13"
}

View File

@ -37,6 +37,7 @@
"updated_at": "2018-03-19T19:17:22Z",
"project_id": "0bd18306d801447bb457a46252d82d13",
"tenant_id": "0bd18306d801447bb457a46252d82d13",
"service_type_id": null
"service_type_id": null,
"tags": ["tag1,tag2"]
}
}

View File

@ -33,6 +33,7 @@
"updated_at": "2018-03-19T19:17:22Z",
"project_id": "0bd18306d801447bb457a46252d82d13",
"tenant_id": "0bd18306d801447bb457a46252d82d13",
"service_type_id": null
"service_type_id": null,
"tags": ["tag1,tag2"]
}
}

View File

@ -38,7 +38,8 @@
"updated_at": "2018-03-19T19:17:22Z",
"project_id": "0bd18306d801447bb457a46252d82d13",
"tenant_id": "0bd18306d801447bb457a46252d82d13",
"service_type_id": null
"service_type_id": null,
"tags": ["tag1,tag2"]
},
{
"admin_state_up": true,
@ -73,7 +74,8 @@
"updated_at": "2018-03-19T19:17:22Z",
"project_id": "0bd18306d801447bb457a46252d82d13",
"tenant_id": "0bd18306d801447bb457a46252d82d13",
"service_type_id": null
"service_type_id": null,
"tags": ["tag1,tag2"]
}
]
}

View File

@ -18,6 +18,8 @@
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"revision_number": 1,
"revisio[n_number": 1,
"tags": ["tag1,tag2"],
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"description": ""
},
@ -35,6 +37,7 @@
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"revision_number": 1,
"tags": ["tag1,tag2"],
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"description": ""
}
@ -43,6 +46,7 @@
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"revision_number": 1,
"tags": ["tag1,tag2"],
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550"
}
}

View File

@ -16,6 +16,7 @@
"security_group_id": "85cc3048-abc3-43cc-89b3-377341426ac5",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"tags": ["tag1,tag2"],
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
@ -33,6 +34,7 @@
"security_group_id": "85cc3048-abc3-43cc-89b3-377341426ac5",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 2,
"tags": ["tag1,tag2"],
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
@ -50,6 +52,7 @@
"security_group_id": "85cc3048-abc3-43cc-89b3-377341426ac5",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"tags": ["tag1,tag2"],
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
@ -67,6 +70,7 @@
"security_group_id": "85cc3048-abc3-43cc-89b3-377341426ac5",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"tags": ["tag1,tag2"],
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
@ -77,6 +81,7 @@
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"revision_number": 4,
"tags": ["tag1,tag2"],
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550"
}
}

View File

@ -8,6 +8,7 @@
"updated_at": "2018-03-19T19:16:56Z",
"id": "01fbade5-b664-42f6-83ae-4e214f4263fa",
"name": "mysecgroup",
"description": "my security group"
"description": "my security group",
"tags": ["tag1,tag2"]
}
}

View File

@ -17,6 +17,7 @@
"security_group_id": "85cc3048-abc3-43cc-89b3-377341426ac5",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"tags": ["tag1,tag2"],
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
@ -34,6 +35,7 @@
"security_group_id": "85cc3048-abc3-43cc-89b3-377341426ac5",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 2,
"tags": ["tag1,tag2"],
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
@ -51,6 +53,7 @@
"security_group_id": "85cc3048-abc3-43cc-89b3-377341426ac5",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"tags": ["tag1,tag2"],
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
@ -68,6 +71,7 @@
"security_group_id": "85cc3048-abc3-43cc-89b3-377341426ac5",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"tags": ["tag1,tag2"],
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
@ -78,6 +82,7 @@
"revision_number": 8,
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"tags": ["tag1,tag2"],
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550"
}
]

View File

@ -25,6 +25,7 @@
"revision_number": 1,
"service_types": [],
"subnetpool_id": null,
"tags": ["tag1,tag2"],
"updated_at": "2016-10-10T14:35:47Z"
}
}

View File

@ -25,6 +25,7 @@
"ipv6_ra_mode": null,
"revision_number": 2,
"service_types": [],
"subnetpool_id": null
"subnetpool_id": null,
"tags": ["tag1,tag2"]
}
}

View File

@ -22,6 +22,7 @@
"cidr": "10.0.0.0/24",
"updated_at": "2016-03-08T20:19:41",
"id": "08eae331-0402-425a-923c-34f7cfe39c1b",
"description": ""
"description": "",
"tags": ["tag1,tag2"]
}
}

View File

@ -19,6 +19,7 @@
"shared": false,
"created_at": "2016-03-08T20:19:41",
"updated_at": "2016-03-08T20:19:41",
"tags": ["tag1,tag2"],
"tenant_id": "9fadcee8aa7c40cdb2114fff7d569c08"
}
}

View File

@ -19,6 +19,7 @@
"ip_version": 6,
"shared": false,
"description": "",
"revision_number": 2
"revision_number": 2,
"tags": ["tag1,tag2"]
}
}

View File

@ -19,6 +19,7 @@
"description": "",
"created_at": "2016-03-08T20:19:41",
"updated_at": "2016-03-08T20:19:41",
"revision_number": 2
"revision_number": 2,
"tags": ["tag1,tag2"]
}
}

View File

@ -20,7 +20,8 @@
"description": "",
"created_at": "2016-03-08T20:19:41",
"updated_at": "2016-03-08T20:19:41",
"revision_number": 2
"revision_number": 2,
"tags": ["tag1,tag2"]
},
{
"min_prefixlen": "24",
@ -42,7 +43,8 @@
"description": "",
"created_at": "2016-03-08T20:19:41",
"updated_at": "2016-03-08T20:19:41",
"revision_number": 2
"revision_number": 2,
"tags": ["tag1,tag2"]
}
]
}

View File

@ -26,6 +26,7 @@
"revision_number": 1,
"service_types": [],
"subnetpool_id": null,
"tags": ["tag1,tag2"],
"updated_at": "2016-10-10T14:35:47Z"
},
{
@ -54,6 +55,7 @@
"revision_number": 1,
"service_types": [],
"subnetpool_id": null,
"tags": ["tag1,tag2"],
"updated_at": "2016-10-10T14:35:34Z"
}
]

View File

@ -26,6 +26,7 @@
"revision_number": 2,
"service_types": [],
"subnetpool_id": null,
"tags": ["tag1,tag2"],
"updated_at": "2016-10-10T14:35:34Z"
},
{
@ -54,6 +55,7 @@
"revision_number": 2,
"service_types": [],
"subnetpool_id": null,
"tags": ["tag1,tag2"],
"updated_at": "2016-10-10T14:35:47Z"
}
]

View File

@ -13,6 +13,14 @@ Resource timestamps
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
Tag extension
=============
The ``standard-attr-tag`` adds Tag support for resources with
standard attributes by adding the ``tags`` attribute
allowing consumers to associate tags with resources.
List security groups
====================
@ -67,6 +75,7 @@ Response Parameters
- name: name
- description: description
- security_group_rules: security_group_rules
- tags: tags
Response Example
----------------
@ -120,6 +129,7 @@ Response Parameters
- name: name
- description: description
- security_group_rules: security_group_rules
- tags: tags
Response Example
----------------
@ -170,6 +180,7 @@ Response Parameters
- name: name
- description: description
- security_group_rules: security_group_rules
- tags: tags
Response Example
----------------
@ -219,6 +230,7 @@ Response Parameters
- name: name
- description: description
- security_group_rules: security_group_rules
- tags: tags
Response Example
----------------

View File

@ -20,6 +20,13 @@ Resource timestamps
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
Tag extension
=============
The ``standard-attr-tag`` adds Tag support for resources with
standard attributes by adding the ``tags`` attribute
allowing consumers to associate tags with resources.
Show subnet pool
================
@ -67,6 +74,7 @@ Response Parameters
- description: description
- is_default: subnetpool_is_default
- revision_number: revision_number
- tags: tags
Response Example
----------------
@ -132,6 +140,7 @@ Response Parameters
- description: description
- is_default: subnetpool_is_default
- revision_number: revision_number
- tags: tags
Response Example
----------------
@ -235,6 +244,7 @@ Response Parameters
- description: description
- is_default: subnetpool_is_default
- revision_number: revision_number
- tags: tags
Response Example
----------------
@ -300,6 +310,7 @@ Response Parameters
- description: description
- is_default: subnetpool_is_default
- revision_number: revision_number
- tags: tags
Response Example
----------------

View File

@ -38,6 +38,14 @@ users to set the desired port types for a subnet by adding the
DVR floating IP agent gateway ports to use the subnet to minimize public
IP address consumption).
Tag extension
=============
The ``standard-attr-tag`` adds Tag support for resources with
standard attributes by adding the ``tags`` attribute
allowing consumers to associate tags with resources.
List subnets
============
@ -116,6 +124,7 @@ Response Parameters
- service_types: subnet-service_types
- subnetpool_id: subnet-subnetpool_id
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------
@ -229,6 +238,7 @@ Response Parameters
- subnetpool_id: subnet-subnetpool_id
- segment_id: subnet-segment_id
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------
@ -309,6 +319,7 @@ Response Parameters
- service_types: subnet-service_types
- subnetpool_id: subnet-subnetpool_id
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------
@ -363,6 +374,7 @@ Response Parameters
- segment_id: subnet-segment_id
- service_types: subnet-service_types
- subnetpool_id: subnet-subnetpool_id
- tags: tags
Response Example
----------------
@ -433,6 +445,7 @@ Response Parameters
- service_types: subnet-service_types
- subnetpool_id: subnet-subnetpool_id
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------

View File

@ -34,7 +34,8 @@ Standard Attributes Tag Extension
The ``standard-attr-tag`` extends tagging support to some resources that support
standard attributes. This includes networks, ports, subnets, subnet pools,
floating IPs, routers, security groups, QoS policies and trunks.
floating IPs, routers, security groups, security group rules, QoS policies and
trunks.
Replace all tags
================

View File

@ -28,6 +28,14 @@ The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
Tag extension
=============
The ``standard-attr-tag`` adds Tag support for resources with
standard attributes by adding the ``tags`` attribute
allowing consumers to associate tags with resources.
List trunks
===========
@ -86,6 +94,7 @@ Response Parameters
- project_id: project_id-request
- sub_ports: sub_ports
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------
@ -161,6 +170,7 @@ Response Parameters
- project_id: project_id
- sub_ports: sub_ports
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------
@ -210,6 +220,7 @@ Response Parameters
- project_id: project_id
- sub_ports: sub_ports
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------
@ -258,6 +269,7 @@ Response Parameters
- project_id: project_id
- sub_ports: sub_ports
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------
@ -290,6 +302,7 @@ Response Parameters
- port_id: port_id_subport
- segmentation_type: segmentation_type
- segmentation_id: segmentation_id
- tags: tags
Response Example
----------------
@ -345,6 +358,7 @@ Response Parameters
- project_id: project_id
- sub_ports: sub_ports
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------
@ -394,6 +408,7 @@ Response Parameters
- project_id: project_id
- sub_ports: sub_ports
- updated_at: updated_at_resource
- tags: tags
Response Example
----------------