public interface AgentService extends RestService
| Modifier and Type | Method and Description |
|---|---|
ActionResponse |
attachNetworkToDhcpAgent(String agentId,
String networkId)
Schedules the network to that the specified DHCP agent.
|
ActionResponse |
detachNetworkToDhcpAgent(String agentId,
String networkId)
Removes the network from that the specified DHCP agent.
|
Agent |
getAgent(String agentId)
Returns the agent with agentId.
|
List<? extends Agent> |
list()
List neutron agents.
|
Agent |
setAdminStateUp(String agentId,
boolean state)
Sets the admin_state_up.
|
Agent getAgent(String agentId)
agentId - id of agentAgent setAdminStateUp(String agentId, boolean state)
agentId - the id of the agent to set state forstate - the state to setActionResponse attachNetworkToDhcpAgent(String agentId, String networkId)
agentId - the id of agent with type DHCPnetworkId - the id of networkActionResponse detachNetworkToDhcpAgent(String agentId, String networkId)
agentId - the id of agent with type DHCPnetworkId - the id of networkCopyright © 2019. All rights reserved.