Add timestamp attributes to standard resources

Add 'created_at' and 'updated_at' attributes to subnet, subnetpool,
ports, router, security group/rule, qos policy, and log if missing.

Change-Id: Ib8254e432b26033e679bf75379f1001c5984500b
This commit is contained in:
Hongbin Lu 2018-04-03 20:30:56 +00:00
parent d6cb64165c
commit e4d3946e9a
46 changed files with 250 additions and 59 deletions

View File

@ -41,7 +41,7 @@ Response Parameters
- alive: alive
- binary: binary
- configurations: configurations
- created_at: created_at
- created_at: created_at_resource
- description: description
- heartbeat_timestamp: heartbeat_timestamp
- host: host
@ -86,7 +86,7 @@ Response Parameters
- alive: alive
- binary: binary
- configurations: configurations
- created_at: created_at
- created_at: created_at_resource
- description: description
- heartbeat_timestamp: heartbeat_timestamp
- host: host
@ -138,7 +138,7 @@ Response Parameters
- alive: alive
- binary: binary
- configurations: configurations
- created_at: created_at
- created_at: created_at_resource
- description: description
- heartbeat_timestamp: heartbeat_timestamp
- host: host

View File

@ -17,6 +17,12 @@ The ``fip-port-details`` extension adds the ``port_details`` attribute to
floating IPs. The value of this attribute contains information of the
associated port.
Resource timestamps
===================
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
List floating IPs
=================

View File

@ -7,6 +7,12 @@ Log resource
The ``logging`` extension lists, creates, shows information for, and updates
log resource.
Resource timestamps
===================
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
List logs
=========
@ -54,6 +60,7 @@ Response Parameters
- logs: logs
- id: log_id
- name: name
- created_at: created_at_resource
- description: description
- tenant_id: project_id
- project_id: project_id
@ -62,6 +69,7 @@ Response Parameters
- resource_type: resource_log_type
- resource_id: resource_log_id
- target_id: resource_target_log_id
- updated_at: updated_at_resource
- enabled: log_enabled
Response Example
@ -122,6 +130,7 @@ Response Parameters
- log: log
- id: log_id
- name: name
- created_at: created_at_resource
- description: description
- tenant_id: project_id
- project_id: project_id
@ -130,6 +139,7 @@ Response Parameters
- resource_type: resource_log_type
- resource_id: resource_log_id
- target_id: resource_target_log_id
- updated_at: updated_at_resource
- enabled: log_enabled
Request Example
@ -164,6 +174,7 @@ Response Parameters
- log: log
- id: log_id
- name: name
- created_at: created_at_resource
- description: description
- tenant_id: project_id
- project_id: project_id
@ -172,6 +183,7 @@ Response Parameters
- resource_type: resource_log_type
- resource_id: resource_log_id
- target_id: resource_target_log_id
- updated_at: updated_at_resource
- enabled: log_enabled
Response Example
@ -216,6 +228,7 @@ Response Parameters
- log: log
- id: log_id
- name: name
- created_at: created_at_resource
- description: description
- tenant_id: project_id
- project_id: project_id
@ -224,6 +237,7 @@ Response Parameters
- resource_type: resource_log_type
- resource_id: resource_log_id
- target_id: resource_target_log_id
- updated_at: updated_at_resource
- enabled: log_enabled
Response Example

View File

@ -1676,12 +1676,6 @@ connection_limit-response:
in: body
required: true
type: integer
created_at:
description: |
Time at which the resource was created.
in: body
required: true
type: string
created_at_resource:
description: |
Time at which the resource has been created (in UTC ISO8601 format).
@ -4996,12 +4990,6 @@ subnet-allocation_pools-request:
in: body
required: false
type: array
subnet-created_at:
description: |
Time at which the subnet has been created.
in: body
required: true
type: string
subnet-dns_nameservers:
description: |
List of dns name servers associated with the subnet.
@ -5178,12 +5166,6 @@ subnet-subnetpool_id-request:
in: body
required: false
type: string
subnet-updated_at:
description: |
Time at which the subnet has been updated.
in: body
required: true
type: string
subnet_id:
description: |
If you specify only a subnet UUID, OpenStack
@ -5320,12 +5302,6 @@ updated:
in: body
required: true
type: string
updated_at:
description: |
Time at which port has been updated.
in: body
required: true
type: string
updated_at_resource:
description: |
Time at which the resource has been updated (in UTC ISO8601 format).

View File

@ -88,6 +88,12 @@ attribute to ports. If a ``port-security`` value is not specified during
port creation, a port will inherit the ``port_security_enabled`` from the
network its connected to.
Resource timestamps
===================
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
Show port details
=================
@ -126,7 +132,7 @@ Response Parameters
- binding:vif_details: binding:vif_details
- binding:vif_type: binding:vif_type
- binding:vnic_type: binding:vnic_type
- created_at: created_at
- created_at: created_at_resource
- data_plane_status: data_plane_status
- description: description
- device_id: device_id
@ -147,7 +153,7 @@ Response Parameters
- security_groups: port-security_groups
- status: port-status
- tenant_id: project_id
- updated_at: updated_at
- updated_at: updated_at_resource
Response Example
----------------
@ -243,7 +249,7 @@ Response Parameters
- binding:vif_details: binding:vif_details
- binding:vif_type: binding:vif_type
- binding:vnic_type: binding:vnic_type
- created_at: created_at
- created_at: created_at_resource
- data_plane_status: data_plane_status
- description: description
- device_id: device_id
@ -264,7 +270,7 @@ Response Parameters
- security_groups: port-security_groups
- status: port-status
- tenant_id: project_id
- updated_at: updated_at
- updated_at: updated_at_resource
Response Example
----------------
@ -372,7 +378,7 @@ Response Parameters
- binding:vif_details: binding:vif_details
- binding:vif_type: binding:vif_type
- binding:vnic_type: binding:vnic_type
- created_at: created_at
- created_at: created_at_resource
- data_plane_status: data_plane_status
- description: description
- device_id: device_id
@ -393,7 +399,7 @@ Response Parameters
- security_groups: port-security_groups
- status: port-status
- tenant_id: project_id
- updated_at: updated_at
- updated_at: updated_at_resource
Response Example
----------------
@ -472,7 +478,7 @@ Response Parameters
- binding:vif_details: binding:vif_details
- binding:vif_type: binding:vif_type
- binding:vnic_type: binding:vnic_type
- created_at: created_at
- created_at: created_at_resource
- data_plane_status: data_plane_status
- description: description
- device_id: device_id
@ -493,7 +499,7 @@ Response Parameters
- security_groups: port-security_groups
- status: port-status
- tenant_id: project_id
- updated_at: updated_at
- updated_at: updated_at_resource
Response Example
----------------
@ -565,7 +571,7 @@ Response Parameters
- binding:vif_details: binding:vif_details
- binding:vif_type: binding:vif_type
- binding:vnic_type: binding:vnic_type
- created_at: created_at
- created_at: created_at_resource
- data_plane_status: data_plane_status
- description: description
- device_id: device_id
@ -586,7 +592,7 @@ Response Parameters
- security_groups: port-security_groups
- status: port-status
- tenant_id: project_id
- updated_at: updated_at
- updated_at: updated_at_resource
Response Example
----------------

View File

@ -90,6 +90,12 @@ QoS policies (qos)
Lists, creates, deletes, shows information for, and updates QoS policies.
Resource timestamps extension
=============================
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
QoS default extension
=====================
The QoS default extension (``qos-default``) allows a per project
@ -152,6 +158,8 @@ Response Parameters
- is_default: qos_is_default
- rules: qos-rules
- name: name
- created_at: created_at_resource
- updated_at: updated_at_resource
Response Example
----------------
@ -215,6 +223,8 @@ Response Parameters
- id: qos_policy_id
- is_default: qos_is_default
- name: name
- created_at: created_at_resource
- updated_at: updated_at_resource
Response Example
----------------
@ -255,6 +265,8 @@ Response Parameters
- id: qos_policy_id
- is_default: qos_is_default
- name: name
- created_at: created_at_resource
- updated_at: updated_at_resource
Response Example
----------------
@ -309,6 +321,8 @@ Response Parameters
- is_default: qos_is_default
- rules: qos-rules
- name: name
- created_at: created_at_resource
- updated_at: updated_at_resource
Response Example
----------------

View File

@ -36,6 +36,12 @@ The router flavor extension (``l3-flavors``) adds the ``flavor_id`` attribute
to routers, allowing requests to be dispatched to different drivers depending
on the flavor associated with a given router.
Resource timestamps
===================
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
Router availability zone extension
==================================
@ -120,6 +126,8 @@ Response Parameters
- availability_zones: router-availability_zones
- service_type_id: router-service_type_id
- flavor_id: router-flavor_id
- created_at: created_at_resource
- updated_at: updated_at_resource
Response Example
----------------
@ -202,6 +210,8 @@ Response Parameters
- availability_zones: router-availability_zones
- service_type_id: router-service_type_id
- flavor_id: router-flavor_id
- created_at: created_at_resource
- updated_at: updated_at_resource
Response Example
----------------
@ -261,6 +271,8 @@ Response Parameters
- availability_zones: router-availability_zones
- service_type_id: router-service_type_id
- flavor_id: router-flavor_id
- created_at: created_at_resource
- updated_at: updated_at_resource
Response Example
----------------
@ -333,6 +345,8 @@ Response Parameters
- availability_zones: router-availability_zones
- service_type_id: router-service_type_id
- flavor_id: router-flavor_id
- created_at: created_at_resource
- updated_at: updated_at_resource
Response Example
----------------

View File

@ -5,6 +5,8 @@
"id": "46ebaec0-0570-43ac-82f6-60d2b03168c4",
"project_id": "92a5a4f4245a4abbafacb7ca73b027b0",
"tenant_id": "92a5a4f4245a4abbafacb7ca73b027b0",
"created_at": "2018-04-03T21:03:04Z",
"updated_at": "2018-04-03T21:03:04Z",
"enabled": true,
"resource_type": "security_group",
"resource_id": null,

View File

@ -6,6 +6,8 @@
"id": "46ebaec0-0570-43ac-82f6-60d2b03168c4",
"project_id": "92a5a4f4245a4abbafacb7ca73b027b0",
"tenant_id": "92a5a4f4245a4abbafacb7ca73b027b0",
"created_at": "2018-04-03T21:03:04Z",
"updated_at": "2018-04-03T21:03:04Z",
"enabled": true,
"revision_number": 1,
"resource_type": "security_group",

View File

@ -5,6 +5,8 @@
"id": "46ebaec0-0570-43ac-82f6-60d2b03168c4",
"project_id": "8d4c70a21fed4aeba121a1a429ba0d04",
"tenant_id": "8d4c70a21fed4aeba121a1a429ba0d04",
"created_at": "2018-04-03T21:03:04Z",
"updated_at": "2018-04-03T21:03:04Z",
"enabled": true,
"revision_number": 1,
"resource_type": "security_group",

View File

@ -5,6 +5,8 @@
"id": "46ebaec0-0570-43ac-82f6-60d2b03168c4",
"project_id": "8d4c70a21fed4aeba121a1a429ba0d04",
"tenant_id": "8d4c70a21fed4aeba121a1a429ba0d04",
"created_at": "2018-04-03T21:03:04Z",
"updated_at": "2018-04-03T21:03:04Z",
"enabled": false,
"revision_number": 3,
"resource_type": "security_group",

View File

@ -20,6 +20,7 @@
"binding:vif_details": {},
"binding:vif_type": "unbound",
"binding:vnic_type": "other",
"created_at": "2016-03-08T20:19:41",
"data_plane_status": null,
"description": "",
"device_id": "d90a13da-be41-461f-9f99-1dbcf438fdf2",
@ -56,6 +57,7 @@
],
"status": "DOWN",
"tenant_id": "d6700c0c9ffa4f1cb322cd4a1f3906fa",
"updated_at": "2016-03-08T20:19:41",
"port_security_enabled": true
}
}

View File

@ -7,6 +7,7 @@
"binding:vif_details": {},
"binding:vif_type": "binding_failed",
"binding:vnic_type": "normal",
"created_at": "2016-03-08T20:19:41",
"data_plane_status": "DOWN",
"description": "",
"device_id": "d90a13da-be41-461f-9f99-1dbcf438fdf2",
@ -43,6 +44,7 @@
],
"status": "DOWN",
"tenant_id": "522eda8d23124b25bf03fe44f1986b74",
"updated_at": "2016-03-08T20:19:41",
"port_security_enabled": false
}
}

View File

@ -7,6 +7,7 @@
"binding:vif_details": {},
"binding:vif_type": "binding_failed",
"binding:vnic_type": "normal",
"created_at": "2016-03-08T20:19:41",
"data_plane_status": "ACTIVE",
"description": "",
"device_id": "d90a13da-be41-461f-9f99-1dbcf438fdf2",
@ -43,6 +44,7 @@
],
"status": "DOWN",
"tenant_id": "522eda8d23124b25bf03fe44f1986b74",
"updated_at": "2016-03-08T20:19:41",
"port_security_enabled": false
}
}

View File

@ -11,6 +11,7 @@
},
"binding:vif_type": "ovs",
"binding:vnic_type": "normal",
"created_at": "2016-03-08T20:19:41",
"data_plane_status": null,
"description": "",
"device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824",
@ -39,7 +40,8 @@
"revision_number": 1,
"security_groups": [],
"status": "ACTIVE",
"tenant_id": ""
"tenant_id": "",
"updated_at": "2016-03-08T20:19:41"
},
{
"admin_state_up": true,
@ -52,6 +54,7 @@
},
"binding:vif_type": "ovs",
"binding:vnic_type": "normal",
"created_at": "2016-03-08T20:19:41",
"data_plane_status": null,
"description": "",
"device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824",
@ -80,7 +83,8 @@
"revision_number": 2,
"security_groups": [],
"status": "ACTIVE",
"tenant_id": "d397de8a63f341818f198abb0966f6f3"
"tenant_id": "d397de8a63f341818f198abb0966f6f3",
"updated_at": "2016-03-08T20:19:41"
}
]
}

View File

@ -3,6 +3,7 @@
{
"admin_state_up": false,
"allowed_address_pairs": [],
"created_at": "2016-03-08T20:19:41",
"data_plane_status": null,
"description": "",
"device_id": "",
@ -34,11 +35,13 @@
],
"status": "DOWN",
"tenant_id": "d6700c0c9ffa4f1cb322cd4a1f3906fa",
"updated_at": "2016-03-08T20:19:41",
"port_security_enabled": false
},
{
"admin_state_up": false,
"allowed_address_pairs": [],
"created_at": "2016-03-08T20:19:41",
"data_plane_status": null,
"description": "",
"device_id": "",
@ -71,6 +74,7 @@
],
"status": "DOWN",
"tenant_id": "d6700c0c9ffa4f1cb322cd4a1f3906fa",
"updated_at": "2016-03-08T20:19:41",
"port_security_enabled": false
}
]

View File

@ -3,6 +3,7 @@
{
"admin_state_up": true,
"allowed_address_pairs": [],
"created_at": "2016-03-08T20:19:41",
"data_plane_status": null,
"description": "",
"device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824",
@ -37,11 +38,13 @@
"security_groups": [],
"status": "ACTIVE",
"tenant_id": "",
"updated_at": "2016-03-08T20:19:41",
"port_security_enabled": false
},
{
"admin_state_up": true,
"allowed_address_pairs": [],
"created_at": "2016-03-08T20:19:41",
"data_plane_status": null,
"description": "",
"device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824",
@ -76,6 +79,7 @@
"security_groups": [],
"status": "ACTIVE",
"tenant_id": "d397de8a63f341818f198abb0966f6f3",
"updated_at": "2016-03-08T20:19:41",
"port_security_enabled": false
}
]

View File

@ -8,6 +8,8 @@
"name": "10Mbit",
"description": "This policy limits the ports to 10Mbit max.",
"revision_number": 3,
"created_at": "2018-04-03T21:26:39Z",
"updated_at": "2018-04-03T21:26:39Z",
"shared": false,
"rules": [
{

View File

@ -8,6 +8,8 @@
"project_id": "8d4c70a21fed4aeba121a1a429ba0d04",
"revision_number": 1,
"tenant_id": "8d4c70a21fed4aeba121a1a429ba0d04",
"created_at": "2018-04-03T21:26:39Z",
"updated_at": "2018-04-03T21:26:39Z",
"shared": false
}
}

View File

@ -7,6 +7,8 @@
"name": "10Mbit",
"description": "This policy limits the ports to 10Mbit max.",
"revision_number": 3,
"created_at": "2018-04-03T21:26:39Z",
"updated_at": "2018-04-03T21:26:39Z",
"shared": false,
"rules": [
{

View File

@ -6,6 +6,8 @@
"is_default": false,
"project_id": "8d4c70a21fed4aeba121a1a429ba0d04",
"revision_number": 3,
"created_at": "2018-04-03T21:26:39Z",
"updated_at": "2018-04-03T21:26:39Z",
"tenant_id": "8d4c70a21fed4aeba121a1a429ba0d04",
"shared": false
}

View File

@ -5,6 +5,7 @@
"availability_zones": [
"nova"
],
"created_at": "2018-03-19T19:17:04Z",
"description": "",
"distributed": false,
"external_gateway_info": {
@ -24,6 +25,7 @@
"routes": [],
"revision_number": 1,
"status": "ACTIVE",
"updated_at": "2018-03-19T19:17:22Z",
"project_id": "0bd18306d801447bb457a46252d82d13",
"tenant_id": "0bd18306d801447bb457a46252d82d13",
"service_type_id": null

View File

@ -5,6 +5,7 @@
"availability_zones": [
"nova"
],
"created_at": "2018-03-19T19:17:04Z",
"description": "",
"distributed": false,
"external_gateway_info": {
@ -33,6 +34,7 @@
}
],
"status": "ACTIVE",
"updated_at": "2018-03-19T19:17:22Z",
"project_id": "0bd18306d801447bb457a46252d82d13",
"tenant_id": "0bd18306d801447bb457a46252d82d13",
"service_type_id": null

View File

@ -5,6 +5,7 @@
"availability_zones": [
"nova"
],
"created_at": "2018-03-19T19:17:04Z",
"description": "",
"distributed": false,
"external_gateway_info": {
@ -29,6 +30,7 @@
}
],
"status": "ACTIVE",
"updated_at": "2018-03-19T19:17:22Z",
"project_id": "0bd18306d801447bb457a46252d82d13",
"tenant_id": "0bd18306d801447bb457a46252d82d13",
"service_type_id": null

View File

@ -6,6 +6,7 @@
"availability_zones": [
"nova"
],
"created_at": "2018-03-19T19:17:04Z",
"description": "",
"distributed": false,
"external_gateway_info": {
@ -34,6 +35,7 @@
}
],
"status": "ACTIVE",
"updated_at": "2018-03-19T19:17:22Z",
"project_id": "0bd18306d801447bb457a46252d82d13",
"tenant_id": "0bd18306d801447bb457a46252d82d13",
"service_type_id": null
@ -44,6 +46,7 @@
"availability_zones": [
"nova"
],
"created_at": "2018-03-19T19:17:04Z",
"description": "",
"distributed": false,
"external_gateway_info": {
@ -67,6 +70,7 @@
"revision_number": 1,
"routes": [],
"status": "ACTIVE",
"updated_at": "2018-03-19T19:17:22Z",
"project_id": "0bd18306d801447bb457a46252d82d13",
"tenant_id": "0bd18306d801447bb457a46252d82d13",
"service_type_id": null

View File

@ -15,6 +15,8 @@
"remote_ip_prefix": null,
"security_group_id": "2076db17-a522-4506-91de-c6dd8e837028",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"revision_number": 1,
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"description": ""
@ -30,12 +32,16 @@
"remote_ip_prefix": null,
"security_group_id": "2076db17-a522-4506-91de-c6dd8e837028",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"revision_number": 1,
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"description": ""
}
],
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"revision_number": 1,
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550"
}

View File

@ -12,6 +12,8 @@
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"description": ""
}
}

View File

@ -9,6 +9,8 @@
"remote_group_id": null,
"remote_ip_prefix": null,
"revision_number": 1,
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"security_group_id": "85cc3048-abc3-43cc-89b3-377341426ac5",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550"

View File

@ -12,6 +12,8 @@
"security_group_id": "85cc3048-abc3-43cc-89b3-377341426ac5",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"description": ""
},
@ -27,6 +29,8 @@
"security_group_id": "85cc3048-abc3-43cc-89b3-377341426ac5",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"description": ""
},
@ -42,6 +46,8 @@
"security_group_id": "85cc3048-abc3-43cc-89b3-377341426ac5",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 2,
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"description": ""
},
@ -57,6 +63,8 @@
"security_group_id": "85cc3048-abc3-43cc-89b3-377341426ac5",
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"description": ""
}

View File

@ -17,6 +17,8 @@
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"description": ""
},
{
@ -32,6 +34,8 @@
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 2,
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"description": ""
},
{
@ -47,6 +51,8 @@
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"description": ""
},
{
@ -62,10 +68,14 @@
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"description": ""
}
],
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"revision_number": 4,
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550"
}

View File

@ -4,6 +4,8 @@
"project_id": "a52cdb9cc7854a39a23d3af73a40899e",
"revision_number": 4,
"tenant_id": "a52cdb9cc7854a39a23d3af73a40899e",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"id": "01fbade5-b664-42f6-83ae-4e214f4263fa",
"name": "mysecgroup",
"description": "my security group"

View File

@ -18,6 +18,8 @@
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"description": ""
},
{
@ -33,6 +35,8 @@
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 2,
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"description": ""
},
{
@ -48,6 +52,8 @@
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"description": ""
},
{
@ -63,11 +69,15 @@
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 1,
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"description": ""
}
],
"project_id": "e4f50856753b4dc6afee5fa6b9b6c550",
"revision_number": 8,
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"tenant_id": "e4f50856753b4dc6afee5fa6b9b6c550"
}
]

View File

@ -7,6 +7,8 @@
"physical_network": "segment-1",
"revision_number": 1,
"id": "57fe85e4-ca2f-4192-b3cd-d5c249d7a21f",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"description": null
}
}

View File

@ -7,6 +7,8 @@
"physical_network": "segment-1",
"revision_number": 1,
"id": "57fe85e4-ca2f-4192-b3cd-d5c249d7a21f",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"description": null
}
}

View File

@ -7,6 +7,8 @@
"physical_network": "segment-1",
"revision_number": 4,
"id": "57fe85e4-ca2f-4192-b3cd-d5c249d7a21f",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"description": "Segment One"
}
}

View File

@ -8,6 +8,8 @@
"physical_network": "segment-1",
"revision_number": 1,
"id": "57fe85e4-ca2f-4192-b3cd-d5c249d7a21f",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"description": null
},
{
@ -18,6 +20,8 @@
"physical_network": "segment-2",
"revision_number": 3,
"id": "f1364c3a-4fc1-4206-b2dc-3254bc25cbfc",
"created_at": "2018-03-19T19:16:56Z",
"updated_at": "2018-03-19T19:16:56Z",
"description": null
}
]

View File

@ -7,6 +7,7 @@
"segment_id": null,
"project_id": "26a7980765d0414dbc1fc1f88cdb7e6e",
"tenant_id": "26a7980765d0414dbc1fc1f88cdb7e6e",
"created_at": "2016-03-08T20:19:41",
"dns_nameservers": [],
"service_types": [],
"allocation_pools": [
@ -19,6 +20,7 @@
"ip_version": 4,
"gateway_ip": "10.0.0.1",
"cidr": "10.0.0.0/24",
"updated_at": "2016-03-08T20:19:41",
"id": "08eae331-0402-425a-923c-34f7cfe39c1b",
"description": ""
}

View File

@ -17,6 +17,8 @@
"project_id": "9fadcee8aa7c40cdb2114fff7d569c08",
"revision_number": 1,
"shared": false,
"created_at": "2016-03-08T20:19:41",
"updated_at": "2016-03-08T20:19:41",
"tenant_id": "9fadcee8aa7c40cdb2114fff7d569c08"
}
}

View File

@ -17,6 +17,8 @@
"id": "03f761e6-eee0-43fc-a921-8acf64c14988",
"max_prefixlen": 64,
"description": "",
"created_at": "2016-03-08T20:19:41",
"updated_at": "2016-03-08T20:19:41",
"revision_number": 2
}
}

View File

@ -18,6 +18,8 @@
"ip_version": 6,
"shared": false,
"description": "",
"created_at": "2016-03-08T20:19:41",
"updated_at": "2016-03-08T20:19:41",
"revision_number": 2
},
{
@ -38,6 +40,8 @@
"ip_version": 4,
"shared": false,
"description": "",
"created_at": "2016-03-08T20:19:41",
"updated_at": "2016-03-08T20:19:41",
"revision_number": 2
}
]

View File

@ -9,6 +9,12 @@ Security group rules (security-group-rules)
Lists, creates, shows information for, and deletes security group
rules.
Resource timestamps
===================
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
List security group rules
=========================
@ -65,6 +71,8 @@ Response Parameters
- project_id: project_id
- port_range_min: port_range_min
- remote_ip_prefix: remote_ip_prefix
- created_at: created_at_resource
- updated_at: updated_at_resource
- revision_number: revision_number
- id: security_group_rule-id
- description: description
@ -124,6 +132,8 @@ Response Parameters
- project_id: project_id
- port_range_min: port_range_min
- remote_ip_prefix: remote_ip_prefix
- created_at: created_at_resource
- updated_at: updated_at_resource
- revision_number: revision_number
- id: security_group_rule-id
- description: description
@ -173,6 +183,8 @@ Response Parameters
- project_id: project_id
- port_range_min: port_range_min
- remote_ip_prefix: remote_ip_prefix
- created_at: created_at_resource
- updated_at: updated_at_resource
- revision_number: revision_number
- id: security_group_rule-id
- description: description

View File

@ -7,6 +7,12 @@ Security groups (security-groups)
Lists, creates, shows information for, updates, and deletes
security groups.
Resource timestamps
===================
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
List security groups
====================
@ -55,6 +61,8 @@ Response Parameters
- id: security_group-id
- tenant_id: project_id
- project_id: project_id
- created_at: created_at_resource
- updated_at: updated_at_resource
- revision_number: revision_number
- name: name
- description: description
@ -106,6 +114,8 @@ Response Parameters
- id: security_group-id
- tenant_id: project_id
- project_id: project_id
- created_at: created_at_resource
- updated_at: updated_at_resource
- revision_number: revision_number
- name: name
- description: description
@ -154,6 +164,8 @@ Response Parameters
- id: security_group-id
- tenant_id: project_id
- project_id: project_id
- created_at: created_at_resource
- updated_at: updated_at_resource
- revision_number: revision_number
- name: name
- description: description
@ -201,6 +213,8 @@ Response Parameters
- id: security_group-id
- tenant_id: project_id
- project_id: project_id
- created_at: created_at_resource
- updated_at: updated_at_resource
- revision_number: revision_number
- name: name
- description: description

View File

@ -7,6 +7,12 @@ Segments
Lists, shows details for, creates, updates, and deletes segments. The
segments API is admin-only.
Resource timestamps
===================
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
Show segment details
====================
@ -44,6 +50,8 @@ Response Parameters
- segmentation_id: provider:segmentation_id
- name: name
- description: description
- created_at: created_at_resource
- updated_at: updated_at_resource
Response Example
----------------
@ -90,6 +98,8 @@ Response Parameters
- segmentation_id: provider:segmentation_id
- name: name
- description: description
- created_at: created_at_resource
- updated_at: updated_at_resource
Response Example
----------------
@ -166,6 +176,8 @@ Response Parameters
- segmentation_id: provider:segmentation_id
- name: name
- description: description
- created_at: created_at_resource
- updated_at: updated_at_resource
Response Example
----------------
@ -215,6 +227,8 @@ Response Parameters
- segmentation_id: provider:segmentation_id
- name: name
- description: description
- created_at: created_at_resource
- updated_at: updated_at_resource
Response Example
----------------

View File

@ -14,6 +14,12 @@ The ``address-scope`` extension adds the ``address_scope_id`` attribute to
subnet pools. ``address_scope_id`` is the ID of the address scope that the
subnet pool belongs to.
Resource timestamps
===================
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
Show subnet pool
================
@ -49,8 +55,8 @@ Response Parameters
- default_quota: default_quota
- tenant_id: project_id
- project_id: project_id
- created_at: created_at
- updated_at: updated_at
- created_at: created_at_resource
- updated_at: updated_at_resource
- prefixes: prefixes
- min_prefixlen: min_prefixlen
- address_scope_id: address_scope_id
@ -114,8 +120,8 @@ Response Parameters
- default_quota: default_quota
- tenant_id: project_id
- project_id: project_id
- created_at: created_at
- updated_at: updated_at
- created_at: created_at_resource
- updated_at: updated_at_resource
- prefixes: prefixes
- min_prefixlen: min_prefixlen
- address_scope_id: address_scope_id
@ -217,8 +223,8 @@ Response Parameters
- default_quota: default_quota
- tenant_id: project_id
- project_id: project_id
- created_at: created_at
- updated_at: updated_at
- created_at: created_at_resource
- updated_at: updated_at_resource
- prefixes: prefixes
- min_prefixlen: min_prefixlen
- address_scope_id: address_scope_id
@ -282,8 +288,8 @@ Response Parameters
- default_quota: default_quota
- tenant_id: project_id
- project_id: project_id
- created_at: created_at
- updated_at: updated_at
- created_at: created_at_resource
- updated_at: updated_at_resource
- prefixes: prefixes
- min_prefixlen: min_prefixlen
- address_scope_id: address_scope_id
@ -299,4 +305,4 @@ Response Example
----------------
.. literalinclude:: samples/subnets/subnetpool-create-response.json
:language: javascript
:language: javascript

View File

@ -16,13 +16,18 @@ IP version). Then users can specify the ``use_default_subnetpool``
attribute when creating a subnet, instead of having to specify the
``subnetpool_id`` attribute referencing the default subnetpool.
Resource timestamps
===================
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
Subnet allocation extension
===========================
Subnet allocation extension (``subnet_allocation``) enables allocation of
subnets from a subnet pool.
Subnet service types extension
==============================
@ -102,7 +107,7 @@ Response Parameters
- ip_version: subnet-ip_version
- gateway_ip: subnet-gateway_ip
- cidr: cidr
- created_at: subnet-created_at
- created_at: created_at_resource
- description: description
- ipv6_address_mode: subnet-ipv6_address_mode
- ipv6_ra_mode: subnet-ipv6_ra_mode
@ -110,7 +115,7 @@ Response Parameters
- segment_id: subnet-segment_id
- service_types: subnet-service_types
- subnetpool_id: subnet-subnetpool_id
- updated_at: subnet-updated_at
- updated_at: updated_at_resource
Response Example
----------------
@ -215,7 +220,7 @@ Response Parameters
- ip_version: subnet-ip_version
- gateway_ip: subnet-gateway_ip
- cidr: cidr
- created_at: subnet-created_at
- created_at: created_at_resource
- description: description
- ipv6_address_mode: subnet-ipv6_address_mode
- ipv6_ra_mode: subnet-ipv6_ra_mode
@ -223,7 +228,7 @@ Response Parameters
- service_types: subnet-service_types
- subnetpool_id: subnet-subnetpool_id
- segment_id: subnet-segment_id
- updated_at: subnet-updated_at
- updated_at: updated_at_resource
Response Example
----------------
@ -295,7 +300,7 @@ Response Parameters
- ip_version: subnet-ip_version
- gateway_ip: subnet-gateway_ip
- cidr: cidr
- created_at: subnet-created_at
- created_at: created_at_resource
- description: description
- ipv6_address_mode: subnet-ipv6_address_mode
- ipv6_ra_mode: subnet-ipv6_ra_mode
@ -303,7 +308,7 @@ Response Parameters
- segment_id: subnet-segment_id
- service_types: subnet-service_types
- subnetpool_id: subnet-subnetpool_id
- updated_at: subnet-updated_at
- updated_at: updated_at_resource
Response Example
----------------
@ -340,7 +345,7 @@ Response Parameters
- id: subnet-id-body
- tenant_id: project_id
- project_id: project_id
- created_at: subnet-created_at
- created_at: created_at_resource
- name: subnet-name
- enable_dhcp: subnet-enable_dhcp
- network_id: subnet-network_id
@ -350,7 +355,7 @@ Response Parameters
- ip_version: subnet-ip_version
- gateway_ip: subnet-gateway_ip
- cidr: cidr
- updated_at: subnet-updated_at
- updated_at: updated_at_resource
- description: description
- ipv6_address_mode: subnet-ipv6_address_mode
- ipv6_ra_mode: subnet-ipv6_ra_mode
@ -419,7 +424,7 @@ Response Parameters
- ip_version: subnet-ip_version
- gateway_ip: subnet-gateway_ip
- cidr: cidr
- created_at: subnet-created_at
- created_at: created_at_resource
- description: description
- ipv6_address_mode: subnet-ipv6_address_mode
- ipv6_ra_mode: subnet-ipv6_ra_mode
@ -427,7 +432,7 @@ Response Parameters
- segment_id: subnet-segment_id
- service_types: subnet-service_types
- subnetpool_id: subnet-subnetpool_id
- updated_at: subnet-updated_at
- updated_at: updated_at_resource
Response Example
----------------

View File

@ -21,6 +21,12 @@ In more details, the extension introduces the following resources:
- **sub_port**. An association to a neutron logical port with attributes
segmentation_id and segmentation_type.
Resource timestamps
===================
The ``standard-attr-timestamp`` extension adds the ``created_at`` and
``updated_at`` attributes to all resources that have standard attributes.
List trunks
===========