public interface IContainerManager
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.controller.sal.utils.Status |
addContainer(ContainerConfig configObject)
Create a Container
|
org.opendaylight.controller.sal.utils.Status |
addContainerEntry(String containerName,
List<String> portList)
Adds resources to a given container.
|
org.opendaylight.controller.sal.utils.Status |
addContainerFlows(String containerName,
List<ContainerFlowConfig> configObject)
Adds/Removes a container flow
|
boolean |
doesContainerExist(String ContainerId)
Check for the existence of a container
|
ContainerConfig |
getContainerConfig(String containerName)
Get the configuration object for the specified container
|
List<ContainerConfig> |
getContainerConfigList()
Get the list of
ContainerConfig objects representing all the containers that have been
configured previously. |
List<String> |
getContainerFlowNameList(String containerName)
Get an the list of names of the container flows that have been configured
previously on the given containerName
|
Map<String,List<ContainerFlowConfig>> |
getContainerFlows()
Get an array of ContainerFlowConfig objects representing all the
container flows that have been configured previously.
|
List<ContainerFlowConfig> |
getContainerFlows(String containerName)
Get an array of
ContainerFlowConfig objects representing all the container flows that
have been configured previously on the given containerName |
List<String> |
getContainerNameList()
Returns a list of container names that currently exist.
|
List<String> |
getContainerNames()
Returns a list of the existing containers.
|
boolean |
hasNonDefaultContainer()
Returns true if there are any non-default Containers present.
|
boolean |
inContainerMode()
Returns whether the controller is running in container mode
|
org.opendaylight.controller.sal.utils.Status |
removeContainer(ContainerConfig configObject)
Remove a container
|
org.opendaylight.controller.sal.utils.Status |
removeContainer(String containerName)
Remove a container
|
org.opendaylight.controller.sal.utils.Status |
removeContainerEntry(String containerName,
List<String> portList)
Remove a resource from a given container.
|
org.opendaylight.controller.sal.utils.Status |
removeContainerFlows(String containerName,
List<ContainerFlowConfig> configObject)
Remove a container flow
|
org.opendaylight.controller.sal.utils.Status |
removeContainerFlows(String containerName,
Set<String> name)
Remove a container flow
|
org.opendaylight.controller.sal.utils.Status addContainer(ContainerConfig configObject)
configObject - ContainerConfig object that carries name of the Container to be
createdorg.opendaylight.controller.sal.utils.Status removeContainer(ContainerConfig configObject)
configObject - ContainerConfig object that carries the name of the Container to be
removedorg.opendaylight.controller.sal.utils.Status removeContainer(String containerName)
containerName - the container nameorg.opendaylight.controller.sal.utils.Status addContainerEntry(String containerName, List<String> portList)
configObject - refer to ContainerConfigorg.opendaylight.controller.sal.utils.Status removeContainerEntry(String containerName, List<String> portList)
configObject - refer to ContainerConfigorg.opendaylight.controller.sal.utils.Status addContainerFlows(String containerName, List<ContainerFlowConfig> configObject)
configObject - refer to ContainerConfigorg.opendaylight.controller.sal.utils.Status removeContainerFlows(String containerName, List<ContainerFlowConfig> configObject)
configObject - refer to ContainerConfigorg.opendaylight.controller.sal.utils.Status removeContainerFlows(String containerName, Set<String> name)
containerName - the name of the containername - the name of the container flowList<ContainerConfig> getContainerConfigList()
ContainerConfig objects representing all the containers that have been
configured previously.ContainerConfig objects configured so farContainerConfig getContainerConfig(String containerName)
containerName - the name of the containerContainerConfig object for the specified container if present, null
otherwiseList<String> getContainerNameList()
boolean doesContainerExist(String ContainerId)
ContainerId - Name of the ContainerMap<String,List<ContainerFlowConfig>> getContainerFlows()
ContainerFlowConfigList<ContainerFlowConfig> getContainerFlows(String containerName)
ContainerFlowConfig objects representing all the container flows that
have been configured previously on the given containerNamecontainerName - the container nameContainerFlowConfigList<String> getContainerFlowNameList(String containerName)
containerName - the container nameboolean hasNonDefaultContainer()
List<String> getContainerNames()
boolean inContainerMode()
Copyright © 2015. All Rights Reserved.