@Singleton public class AclDataUtil extends Object implements AclDataCache
| Constructor and Description |
|---|
AclDataUtil() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAcl(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl acl)
Adds the acl.
|
void |
addAclInterfaceMap(List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> aclList,
AclInterface port) |
void |
addAclTag(String aclName,
Integer aclTag)
Adds the ACL tag to the cache.
|
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,
Class<? extends DirectionBase> direction) |
boolean |
doesDpnHaveAclInterface(BigInteger dpnId)
Checks if DPN has acl interface associated with it.
|
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl |
getAcl(String aclName)
Gets the acl.
|
Map<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid,Collection<AclInterface>> |
getAclInterfaceMap() |
Map<String,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl> |
getAclMap() |
Integer |
getAclTag(String aclName)
Gets the acl tag from the cache.
|
Map<String,Integer> |
getAclTagMap() |
Map<String,Set<AclInterface>> |
getAllRemoteAclInterfaces(Class<? extends DirectionBase> direction)
Gets the set of ACL interfaces per ACL (in a map) which has remote ACL.
|
Map<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid,Collection<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>> |
getEgressRemoteAclIdMap() |
Map<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid,Collection<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>> |
getIngressRemoteAclIdMap() |
Collection<AclInterface> |
getInterfaceList(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid acl) |
Collection<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,
Class<? extends DirectionBase> direction) |
Map<String,Set<AclInterface>> |
getRemoteAclInterfaces(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid remoteAclId,
Class<? extends DirectionBase> direction)
Gets the set of ACL interfaces per ACL (in a map) which has specified
remote ACL ID.
|
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl |
removeAcl(String aclName)
Removes the acl.
|
void |
removeAclInterfaceMap(List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> aclList,
AclInterface port) |
void |
removeAclInterfaceMap(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid acl,
AclInterface port) |
Integer |
removeAclTag(String aclName)
Removes the acl tag from the cache.
|
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,
Class<? extends DirectionBase> direction) |
public void addAcl(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl acl)
acl - the aclpublic org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl removeAcl(String aclName)
aclName - the acl namepublic org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl getAcl(String aclName)
getAcl in interface AclDataCacheaclName - the acl namepublic 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 void removeAclInterfaceMap(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid acl,
AclInterface port)
public Collection<AclInterface> getInterfaceList(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid acl)
getInterfaceList in interface AclDataCachepublic Map<String,Set<AclInterface>> getRemoteAclInterfaces(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid remoteAclId, Class<? extends DirectionBase> direction)
remoteAclId - the remote acl iddirection - the directionpublic 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,
Class<? extends DirectionBase> direction)
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,
Class<? extends DirectionBase> direction)
public Collection<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, Class<? extends DirectionBase> direction)
getRemoteAcl in interface AclDataCachepublic Map<String,Set<AclInterface>> getAllRemoteAclInterfaces(Class<? extends DirectionBase> direction)
direction - the directionpublic void addAclTag(String aclName, Integer aclTag)
aclName - the ACL nameaclTag - the ACL tagpublic Integer removeAclTag(String aclName)
aclName - the acl namepublic Integer getAclTag(String aclName)
getAclTag in interface AclDataCacheaclName - the acl namepublic boolean doesDpnHaveAclInterface(BigInteger dpnId)
dpnId - the datapath ID of DPNpublic Map<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid,Collection<AclInterface>> getAclInterfaceMap()
getAclInterfaceMap in interface AclDataCachepublic Map<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid,Collection<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>> getEgressRemoteAclIdMap()
getEgressRemoteAclIdMap in interface AclDataCachepublic Map<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid,Collection<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>> getIngressRemoteAclIdMap()
getIngressRemoteAclIdMap in interface AclDataCachepublic Map<String,Integer> getAclTagMap()
getAclTagMap in interface AclDataCachepublic Map<String,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl> getAclMap()
getAclMap in interface AclDataCacheCopyright © 2019 OpenDaylight. All rights reserved.