public class AgentServiceImpl extends BaseNetworkingServices implements AgentService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
AgentServiceImpl() |
| 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.
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends Agent> list()
AgentServicelist in interface AgentServicepublic Agent getAgent(String agentId)
AgentServicegetAgent in interface AgentServiceagentId - id of agentpublic Agent setAdminStateUp(String agentId, boolean state)
AgentServicesetAdminStateUp in interface AgentServiceagentId - the id of the agent to set state forstate - the state to setpublic ActionResponse attachNetworkToDhcpAgent(String agentId, String networkId)
AgentServiceattachNetworkToDhcpAgent in interface AgentServiceagentId - the id of agent with type DHCPnetworkId - the id of networkpublic ActionResponse detachNetworkToDhcpAgent(String agentId, String networkId)
AgentServicedetachNetworkToDhcpAgent in interface AgentServiceagentId - the id of agent with type DHCPnetworkId - the id of networkCopyright © 2020. All rights reserved.