Optional availability group. Will be used for all instances provisioned in this tenant
internal_network_id
string
ID of internal network in OpenStack tenant
external_network_id
string
ID of external network connected to OpenStack tenant
external_network_ref_uuid
string (uuid)
external_network_ref_name
string
user_username
string
Username of the tenant user
user_password
string
Password of the tenant user
quotas
array of objects
quotas.name
string
quotas.usage
integer
quotas.limit
integer
default_volume_type_name
string
Volume type name to use when creating volumes.
skip_creation_of_default_router
boolean
marketplace_offering_uuid
string
marketplace_offering_name
string
marketplace_offering_type
string
marketplace_offering_plugin_options
object (free-form)
marketplace_category_uuid
string
marketplace_category_name
string
marketplace_resource_uuid
string
marketplace_plan_uuid
string
marketplace_resource_state
string
is_usage_based
boolean
is_limit_based
boolean
Synchronize resource state
Schedule an asynchronous pull operation to synchronize resource state from the backend. Returns 202 if the pull was scheduled successfully, or 409 if the pull operation is not implemented for this resource type.
Delete resource from the database without scheduling operations on backend
and without checking current state of the resource. It is intended to be used
for removing resource stuck in transitioning state.
A quota can be set for a particular tenant. Only staff users and service provider owners/managers can do that.
In order to set quota submit POST request to /api/openstack-tenants//set_quotas/.
The quota values are propagated to the backend.
The following quotas are supported. All values are expected to be integers:
instances - maximal number of created instances.
ram - maximal size of ram for allocation. In MiB_.
storage - maximal size of storage for allocation. In MiB_.
vcpu - maximal number of virtual cores for allocation.
security_group_count - maximal number of created security groups.
security_group_rule_count - maximal number of created security groups rules.
volumes - maximal number of created volumes.
snapshots - maximal number of created snapshots.
It is possible to update quotas by one or by submitting all the fields in one request.
Waldur will attempt to update the provided quotas. Please note, that if provided quotas are
conflicting with the backend (e.g. requested number of instances is below of the already existing ones),
some quotas might not be applied.
.. _MiB: http://en.wikipedia.org/wiki/Mebibyte
Response code of a successful request is 202 ACCEPTED.
In case tenant is in a non-stable status, the response would be 409 CONFLICT.
In this case REST client is advised to repeat the request after some time.
On successful completion the task will synchronize quotas with the backend.
affinity — all instances are placed on the same hypervisor. anti-affinity — all instances are placed on different hypervisors. soft-affinity — instances are placed on the same hypervisor if possible, but not enforced. soft-anti-affinity — instances are placed on different hypervisors if possible, but not enforced.
200 -
Field
Type
Description
url
string (uri)
uuid
string (uuid)
name
string
description
string
service_name
string
service_settings
string (uri)
service_settings_uuid
string (uuid)
service_settings_state
string
service_settings_error_message
string
project
string (uri)
project_name
string
project_uuid
string (uuid)
customer
string (uri)
customer_uuid
string (uuid)
customer_name
string
customer_native_name
string
customer_abbreviation
string
error_message
string
error_traceback
string
resource_type
string
state
any
created
string (date-time)
modified
string (date-time)
backend_id
string
access_url
string
tenant
string (uri)
tenant_name
string
tenant_uuid
string (uuid)
policy
any
affinity — all instances are placed on the same hypervisor. anti-affinity — all instances are placed on different hypervisors. soft-affinity — instances are placed on the same hypervisor if possible, but not enforced. soft-anti-affinity — instances are placed on different hypervisors if possible, but not enforced.
Optional availability group. Will be used for all instances provisioned in this tenant
internal_network_id
string
ID of internal network in OpenStack tenant
external_network_id
string
ID of external network connected to OpenStack tenant
external_network_ref_uuid
string (uuid)
external_network_ref_name
string
user_username
string
Username of the tenant user
user_password
string
Password of the tenant user
quotas
array of objects
quotas.name
string
quotas.usage
integer
quotas.limit
integer
default_volume_type_name
string
Volume type name to use when creating volumes.
skip_creation_of_default_router
boolean
marketplace_offering_uuid
string
marketplace_offering_name
string
marketplace_offering_type
string
marketplace_offering_plugin_options
object (free-form)
marketplace_category_uuid
string
marketplace_category_name
string
marketplace_resource_uuid
string
marketplace_plan_uuid
string
marketplace_resource_state
string
is_usage_based
boolean
is_limit_based
boolean
Other Actions
Batch update security groups for a tenant.
123456
* Security groups with UUIDs are updated.
* Security groups without UUIDs are created.
* Security groups existing in the tenant but not present in the request are deleted.
* Rules for created/updated security groups are replaced.
To reference a remote group within a rule, use 'remote_group_name' field.
The request body is an array of objects, where each object has the following structure:
Field
Type
Required
Description
uuid
string (uuid)
name
string
✓
description
string
rules
array of objects
rules.ethertype
any
IP protocol version - either 'IPv4' or 'IPv6'
rules.direction
any
Traffic direction - either 'ingress' (incoming) or 'egress' (outgoing)
rules.protocol
any
The network protocol (TCP, UDP, ICMP, or empty for any protocol)
rules.from_port
integer
Starting port number in the range (1-65535)
rules.to_port
integer
Ending port number in the range (1-65535)
rules.cidr
string
CIDR notation for the source/destination network address range
rules.description
string
rules.remote_group_name
string
Constraints: write-only
rules.remote_group
string (uri)
200 - No response body
Mark resource as ERRED
Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.