public final class PathPolicySet extends Object
PathPolicySet
describes a set of path policy configurations.Constructor and Description |
---|
PathPolicySet() |
Modifier and Type | Method and Description |
---|---|
PathPolicySet |
add(PathPolicy... pps)
Add the given path policies.
|
void |
apply(VTNServices service,
org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx)
Apply all the configurations in this instance.
|
PathPolicySet |
clear()
Remove all the path policy configurations.
|
PathPolicy |
get(Integer id)
Return the path policy configuration specified by the given ID.
|
PathPolicySet |
remove(Integer... ids)
Remove the path policies specified by the given IDs.
|
static void |
removePathPolicy(VtnPathPolicyService service,
Integer id)
Remove the specified path policy.
|
void |
verify(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx)
Verify the vtn-path-policies container.
|
public static void removePathPolicy(VtnPathPolicyService service, Integer id)
service
- The vtn-path-policy RPC service.id
- The identifier for the path policy to be removed.public PathPolicySet add(PathPolicy... pps)
pps
- An array of path policies to be added.public PathPolicySet remove(Integer... ids)
ids
- An array of path policy IDs to be removed.public PathPolicySet clear()
public PathPolicy get(Integer id)
id
- The identifier for the path policy.PathPolicy
instance if found.
null
if not found.public void verify(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx)
rtx
- A read-only MD-SAL datastore transaction.public void apply(VTNServices service, org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx)
service
- A VTNServices
instance.rtx
- A read-only MD-SAL datastore transaction.Copyright © 2017 OpenDaylight. All rights reserved.