Search in sources :

Example 1 with AclserviceAugmentation

use of org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.aclservice.rev160608.AclserviceAugmentation in project netvirt by opendaylight.

the class AclServiceUtils method getAclTag.

/**
 * Gets ACL tag from Acl.
 * @param acl Acl object
 * @return the acl tag
 */
public static Integer getAclTag(Acl acl) {
    Integer aclTag = null;
    AclserviceAugmentation aclserviceAugmentation = acl.augmentation(AclserviceAugmentation.class);
    if (aclserviceAugmentation != null) {
        aclTag = aclserviceAugmentation.getAclTag().intValue();
    }
    return aclTag;
}
Also used : BigInteger(java.math.BigInteger) AclserviceAugmentation(org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.aclservice.rev160608.AclserviceAugmentation)

Aggregations

BigInteger (java.math.BigInteger)1 AclserviceAugmentation (org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.aclservice.rev160608.AclserviceAugmentation)1