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;
}
Aggregations