Class NeutronSecurityGroupUtils
- java.lang.Object
-
- org.opendaylight.netvirt.neutronvpn.NeutronSecurityGroupUtils
-
@Singleton public final class NeutronSecurityGroupUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NeutronSecurityGroupUtils(org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
allocateAclTag(java.lang.String aclName)
Allocates ACL tag.java.lang.Integer
allocateId(java.lang.String poolName, java.lang.String idKey, java.lang.Integer defaultId)
void
createAclIdPool()
Creates remote acl id pools.void
createIdPoolForAclTag(java.lang.String poolName)
Creates id pool for ACL tag.void
deleteAclIdPool()
Deletes remote acl id pools.void
deleteIdPool(java.lang.String poolName)
Deletes id pool.Acl
getAcl(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Acl> aclInstanceIdentifier)
void
releaseAclTag(java.lang.String aclName)
Releases ACL tag.void
releaseId(java.lang.String poolName, java.lang.String idKey)
-
-
-
Method Detail
-
createAclIdPool
public void createAclIdPool()
Creates remote acl id pools.
-
createIdPoolForAclTag
public void createIdPoolForAclTag(java.lang.String poolName)
Creates id pool for ACL tag.- Parameters:
poolName
- the pool name
-
deleteAclIdPool
public void deleteAclIdPool()
Deletes remote acl id pools.
-
deleteIdPool
public void deleteIdPool(java.lang.String poolName)
Deletes id pool.- Parameters:
poolName
- the pool name
-
allocateAclTag
public java.lang.Integer allocateAclTag(java.lang.String aclName)
Allocates ACL tag.- Parameters:
aclName
- the ACL name- Returns:
- the integer
-
releaseAclTag
public void releaseAclTag(java.lang.String aclName)
Releases ACL tag.- Parameters:
aclName
- the ACL name
-
allocateId
public java.lang.Integer allocateId(java.lang.String poolName, java.lang.String idKey, java.lang.Integer defaultId)
-
releaseId
public void releaseId(java.lang.String poolName, java.lang.String idKey)
-
-