openstack.compute.v2.server_remote_console

The ServerRemoteConsole Class

The ServerRemoteConsole class inherits from Resource.

class openstack.compute.v2.server_remote_console.ServerRemoteConsole(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized – This is not intended to be used directly. See new() and existing().

  • connection – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

resource_key = 'remote_console'

Singular form of key for resource.

base_path = '/servers/%(server_id)s/remote-consoles'

The base part of the URI for this resource.

allow_create = True

Allow create operation for this resource.

allow_fetch = False

Allow get operation for this resource.

allow_commit = False

Allow update operation for this resource.

allow_delete = False

Allow delete operation for this resource.

allow_list = False

Allow list operation for this resource.

protocol

Protocol of the remote console.

type

Type of the remote console.

url

URL used to connect to the console.

server_id

The ID for the server.