X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fnetworkconfiguration%2Fneutron%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetworkconfig%2Fneutron%2FINeutronSecurityGroupAware.java;fp=opendaylight%2Fnetworkconfiguration%2Fneutron%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetworkconfig%2Fneutron%2FINeutronSecurityGroupAware.java;h=0000000000000000000000000000000000000000;hp=b518924e195820494841a613f44e908b503f2c2a;hb=ec438637ca302ccd5ed7d9b2c21ea92d21f4913e;hpb=3927509ec3ecfa32a51b725d2b7155d425f5b877 diff --git a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronSecurityGroupAware.java b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronSecurityGroupAware.java deleted file mode 100644 index b518924e19..0000000000 --- a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronSecurityGroupAware.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright (C) 2014 Red Hat, Inc. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - * - */ - -package org.opendaylight.controller.networkconfig.neutron; - -/** - * This interface defines the methods a service that wishes to be aware of Neutron Security Groups needs to implement - * - * @deprecated Replaced by {@link org.opendaylight.neutron.neutron.spi.INeutronSecurityGroupAware} - */ - -@Deprecated -public interface INeutronSecurityGroupAware { - - /** - * Services provide this interface method to indicate if the specified security group can be created - * - * @param securityGroup instance of proposed new Neutron Security Group object - * @return integer - * the return value is understood to be a HTTP status code. A return value outside of 200 through 299 - * results in the create operation being interrupted and the returned status value reflected in the - * HTTP response. - */ - public int canCreateNeutronSecurityGroup(NeutronSecurityGroup securityGroup); - - /** - * Services provide this interface method for taking action after a security group has been created - * - * @param securityGroup instance of new Neutron Security Group object - * @return void - */ - public void neutronSecurityGroupCreated(NeutronSecurityGroup securityGroup); - - /** - * Services provide this interface method to indicate if the specified security group can be changed using the specified - * delta - * - * @param delta updates to the security group object using patch semantics - * @param original instance of the Neutron Security Group object to be updated - * @return integer - * the return value is understood to be a HTTP status code. A return value outside of 200 through 299 - * results in the update operation being interrupted and the returned status value reflected in the - * HTTP response. - */ - public int canUpdateNeutronSecurityGroup(NeutronSecurityGroup delta, NeutronSecurityGroup original); - - /** - * Services provide this interface method for taking action after a security group has been updated - * - * @param securityGroup instance of modified Neutron Security Group object - * @return void - */ - public void neutronSecurityGroupUpdated(NeutronSecurityGroup securityGroup); - - /** - * Services provide this interface method to indicate if the specified security group can be deleted - * - * @param securityGroup instance of the Neutron Security Group object to be deleted - * @return integer - * the return value is understood to be a HTTP status code. A return value outside of 200 through 299 - * results in the delete operation being interrupted and the returned status value reflected in the - * HTTP response. - */ - public int canDeleteNeutronSecurityGroup(NeutronSecurityGroup securityGroup); - - /** - * Services provide this interface method for taking action after a security group has been deleted - * - * @param securityGroup instance of deleted Neutron Security Group object - * @return void - */ - public void neutronSecurityGroupDeleted(NeutronSecurityGroup securityGroup); -}