public class AgentServiceImpl extends BaseNetworkingServices implements AgentService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
AgentServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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 setCopyright © 2017. All rights reserved.