@Singleton public class AclDataUtil extends Object
Constructor and Description |
---|
AclDataUtil() |
Modifier and Type | Method and Description |
---|---|
void |
addAclFlowPriority(String aclName,
Integer flowPriority)
Adds the acl flow priority to the cache.
|
void |
addAclInterfaceMap(List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> aclList,
AclInterface port) |
void |
addOrUpdateAclInterfaceMap(List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> aclList,
AclInterface port) |
void |
addRemoteAclId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid remoteAclId,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid aclId) |
boolean |
doesDpnHaveAclInterface(BigInteger dpnId)
Checks if DPN has acl interface associated with it.
|
Integer |
getAclFlowPriority(String aclName)
Gets the acl flow priority from the cache.
|
Map<String,Set<AclInterface>> |
getAllRemoteAclInterfaces()
Gets the set of ACL interfaces per ACL (in a map) which has remote ACL.
|
List<AclInterface> |
getInterfaceList(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid acl) |
List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> |
getRemoteAcl(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid remoteAclId) |
Map<String,Set<AclInterface>> |
getRemoteAclInterfaces(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid remoteAclId)
Gets the set of ACL interfaces per ACL (in a map) which has specified
remote ACL ID.
|
Integer |
removeAclFlowPriority(String key)
Removes the acl flow priority from the cache.
|
void |
removeAclInterfaceMap(List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> aclList,
AclInterface port) |
void |
removeRemoteAclId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid remoteAclId,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid aclId) |
public void addAclInterfaceMap(List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> aclList, AclInterface port)
public void addOrUpdateAclInterfaceMap(List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> aclList, AclInterface port)
public void removeAclInterfaceMap(List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> aclList, AclInterface port)
public List<AclInterface> getInterfaceList(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid acl)
public Map<String,Set<AclInterface>> getRemoteAclInterfaces(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid remoteAclId)
remoteAclId
- the remote acl idpublic void addRemoteAclId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid remoteAclId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid aclId)
public void removeRemoteAclId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid remoteAclId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid aclId)
public List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getRemoteAcl(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid remoteAclId)
public Map<String,Set<AclInterface>> getAllRemoteAclInterfaces()
public void addAclFlowPriority(String aclName, Integer flowPriority)
aclName
- the acl nameflowPriority
- the flow prioritypublic Integer removeAclFlowPriority(String key)
key
- the keypublic Integer getAclFlowPriority(String aclName)
aclName
- the acl namepublic boolean doesDpnHaveAclInterface(BigInteger dpnId)
dpnId
- the datapath ID of DPNCopyright © 2018 OpenDaylight. All rights reserved.