2 * Copyright (c) 2016 Red Hat, Inc. 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
8 package org.opendaylight.netvirt.aclservice.api;
10 import java.util.Collection;
11 import org.eclipse.jdt.annotation.Nullable;
12 import org.opendaylight.netvirt.aclservice.api.utils.AclInterface;
13 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl;
14 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.Ace;
16 public interface AclServiceManager {
31 void notify(AclInterface port, @Nullable AclInterface oldPort, Action action);
33 void notifyAce(AclInterface port, Action action, String aclName, Ace ace);
35 void notifyAcl(Acl aclBefore, Acl aclAfter, Collection<AclInterface> portsBefore, Action action);