yang model revise: neutron.yang
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / INeutronPortAware.java
index f2a7ce927c79ffc8c6cc09bac3a9509be4d0903e..b3c9d78e3c0d75b6f0cd877cc6eb4840390e6299 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright IBM Corporation, 2013.  All rights reserved.
+ * Copyright (c) 2013, 2015 IBM Corporation and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -12,7 +12,7 @@ package org.opendaylight.neutron.spi;
  * This interface defines the methods a service that wishes to be aware of Neutron Ports needs to implement
  *
  */
-
+@Deprecated
 public interface INeutronPortAware {
 
     /**
@@ -25,7 +25,7 @@ public interface INeutronPortAware {
      *            results in the create operation being interrupted and the returned status value reflected in the
      *            HTTP response.
      */
-    public int canCreatePort(NeutronPort port);
+    int canCreatePort(NeutronPort port);
 
     /**
      * Services provide this interface method for taking action after a port has been created
@@ -33,7 +33,7 @@ public interface INeutronPortAware {
      * @param port
      *            instance of new Neutron Port object
      */
-    public void neutronPortCreated(NeutronPort port);
+    void neutronPortCreated(NeutronPort port);
 
     /**
      * Services provide this interface method to indicate if the specified port can be changed using the specified
@@ -48,7 +48,7 @@ public interface INeutronPortAware {
      *            results in the update operation being interrupted and the returned status value reflected in the
      *            HTTP response.
      */
-    public int canUpdatePort(NeutronPort delta, NeutronPort original);
+    int canUpdatePort(NeutronPort delta, NeutronPort original);
 
     /**
      * Services provide this interface method for taking action after a port has been updated
@@ -56,7 +56,7 @@ public interface INeutronPortAware {
      * @param port
      *            instance of modified Neutron Port object
      */
-    public void neutronPortUpdated(NeutronPort port);
+    void neutronPortUpdated(NeutronPort port);
 
     /**
      * Services provide this interface method to indicate if the specified port can be deleted
@@ -68,7 +68,7 @@ public interface INeutronPortAware {
      *            results in the delete operation being interrupted and the returned status value reflected in the
      *            HTTP response.
      */
-    public int canDeletePort(NeutronPort port);
+    int canDeletePort(NeutronPort port);
 
     /**
      * Services provide this interface method for taking action after a port has been deleted
@@ -76,5 +76,5 @@ public interface INeutronPortAware {
      * @param port
      *            instance of deleted Port Network object
      */
-    public void neutronPortDeleted(NeutronPort port);
+    void neutronPortDeleted(NeutronPort port);
 }