public interface NetworkApi
| Modifier and Type | Method and Description |
|---|---|
void |
connectContainerToNetwork(String networkIdOrName,
String containerIdOrName) |
Network |
createNetwork(Network network) |
void |
disconnectContainerFromNetwork(String networkIdOrName,
String containerIdOrName) |
Network |
inspectNetwork(String networkIdOrName)
Return low-level information on the network id
|
List<Network> |
listNetworks() |
void |
removeNetwork(String networkIdOrName) |
@Named(value="network:create") Network createNetwork(Network network)
network - the network’s configuration (@see BindToJsonPayload)@Named(value="network:inspect") Network inspectNetwork(String networkIdOrName)
networkIdOrName - The id or name of the network to get.null if the network with the given id doesn't exist.@Named(value="network:delete") void removeNetwork(String networkIdOrName)
networkIdOrName - The id or name of the network to be removed.@Named(value="network:connectContainer") void connectContainerToNetwork(String networkIdOrName, String containerIdOrName)
networkIdOrName - The id or name of the network where the container will be attached.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.