openstack.network.v2.network¶
The Agent Class¶
The Agent class inherits from Resource.
-
class
openstack.network.v2.agent.Agent(attrs=None, loaded=False)¶ Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct resource objects, which are preferrable to entering through this initializer. See
Resource.new()andResource.existing().Parameters: - attrs (dict) – The attributes to set when constructing this Resource.
- loaded (bool) –
Trueif this Resource exists on the server,Falseif it does not.
-
agent_type= None¶ The type of network agent.
-
availability_zone= None¶ Availability zone for the network agent.
-
binary= None¶ The name of the network agent’s application binary.
-
configuration= None¶ Network agent configuration data specific to the agent_type.
-
created_at= None¶ Timestamp when the network agent was created.
-
description= None¶ The network agent description.
-
last_heartbeat_at= None¶ Timestamp when the network agent’s heartbeat was last seen.
-
host= None¶ The host the agent is running on.
-
is_admin_state_up= None¶ The administrative state of the network agent, which is up
Trueor downFalse. Type: bool
-
is_alive= None¶ Whether or not the network agent is alive. Type: bool
-
started_at= None¶ Timestamp when the network agent was last started.
-
topic= None¶ The messaging queue topic the network agent subscribes to.