Class 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.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl getAcl​(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl> aclInstanceIdentifier)  
      void releaseAclTag​(java.lang.String aclName)
      Releases ACL tag.
      void releaseId​(java.lang.String poolName, java.lang.String idKey)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NeutronSecurityGroupUtils

        @Inject
        public NeutronSecurityGroupUtils​(org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager)
    • 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)
      • getAcl

        public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl getAcl​(org.opendaylight.controller.md.sal.binding.api.DataBroker broker,
                                                                                                                                   org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl> aclInstanceIdentifier)