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, uri
public List<? extends Agent> list()
AgentService
list
in interface AgentService
public Agent getAgent(String agentId)
AgentService
getAgent
in interface AgentService
agentId
- id of agentpublic Agent setAdminStateUp(String agentId, boolean state)
AgentService
setAdminStateUp
in interface AgentService
agentId
- the id of the agent to set state forstate
- the state to setCopyright © 2017. All rights reserved.