2 * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.netvirt.aclservice.api.utils;
11 import java.util.Collection;
13 import javax.annotation.Nonnull;
14 import javax.annotation.Nullable;
15 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl;
16 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid;
17 import org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.aclservice.rev160608.DirectionBase;
19 public interface AclDataCache {
22 Acl getAcl(String aclName);
25 Collection<AclInterface> getInterfaceList(Uuid acl);
28 Collection<Uuid> getRemoteAcl(Uuid remoteAclId, Class<? extends DirectionBase> direction);
31 Integer getAclTag(String aclId);
34 Map<Uuid, Collection<AclInterface>> getAclInterfaceMap();
37 Map<Uuid, Collection<Uuid>> getEgressRemoteAclIdMap();
40 Map<Uuid, Collection<Uuid>> getIngressRemoteAclIdMap();
43 Map<String, Integer> getAclTagMap();
46 Map<String, Acl> getAclMap();