X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnetworkconfiguration%2Fneutron%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetworkconfig%2Fneutron%2FNeutronCRUDInterfaces.java;h=21cfdb1305060d1bfa24ff32866f1ce0aa8509b5;hb=7e24111a0842d66187c752022aa975c411b42cca;hp=0becb475b8301d0ad5f57ec1a6d3f084e99a3841;hpb=e40d69673c2529d99069a8a0bafb152a1c11c41a;p=controller.git diff --git a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronCRUDInterfaces.java b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronCRUDInterfaces.java index 0becb475b8..21cfdb1305 100644 --- a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronCRUDInterfaces.java +++ b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronCRUDInterfaces.java @@ -1,39 +1,49 @@ -/* - * Copyright IBM Corporation, 2013. 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, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -package org.opendaylight.controller.networkconfig.neutron; - -import org.opendaylight.controller.sal.utils.ServiceHelper; - -public class NeutronCRUDInterfaces { - - public static INeutronNetworkCRUD getINeutronNetworkCRUD(Object o) { - INeutronNetworkCRUD answer = (INeutronNetworkCRUD) ServiceHelper.getGlobalInstance(INeutronNetworkCRUD.class, o); - return answer; - } - - public static INeutronSubnetCRUD getINeutronSubnetCRUD(Object o) { - INeutronSubnetCRUD answer = (INeutronSubnetCRUD) ServiceHelper.getGlobalInstance(INeutronSubnetCRUD.class, o); - return answer; - } - - public static INeutronPortCRUD getINeutronPortCRUD(Object o) { - INeutronPortCRUD answer = (INeutronPortCRUD) ServiceHelper.getGlobalInstance(INeutronPortCRUD.class, o); - return answer; - } - - public static INeutronRouterCRUD getINeutronRouterCRUD(Object o) { - INeutronRouterCRUD answer = (INeutronRouterCRUD) ServiceHelper.getGlobalInstance(INeutronRouterCRUD.class, o); - return answer; - } - - public static INeutronFloatingIPCRUD getINeutronFloatingIPCRUD(Object o) { - INeutronFloatingIPCRUD answer = (INeutronFloatingIPCRUD) ServiceHelper.getGlobalInstance(INeutronFloatingIPCRUD.class, o); - return answer; - } -} +/* + * Copyright IBM Corporation, 2013. 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, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ + +package org.opendaylight.controller.networkconfig.neutron; + +import org.opendaylight.controller.sal.utils.ServiceHelper; + +public class NeutronCRUDInterfaces { + + public static INeutronNetworkCRUD getINeutronNetworkCRUD(Object o) { + INeutronNetworkCRUD answer = (INeutronNetworkCRUD) ServiceHelper.getGlobalInstance(INeutronNetworkCRUD.class, o); + return answer; + } + + public static INeutronSubnetCRUD getINeutronSubnetCRUD(Object o) { + INeutronSubnetCRUD answer = (INeutronSubnetCRUD) ServiceHelper.getGlobalInstance(INeutronSubnetCRUD.class, o); + return answer; + } + + public static INeutronPortCRUD getINeutronPortCRUD(Object o) { + INeutronPortCRUD answer = (INeutronPortCRUD) ServiceHelper.getGlobalInstance(INeutronPortCRUD.class, o); + return answer; + } + + public static INeutronRouterCRUD getINeutronRouterCRUD(Object o) { + INeutronRouterCRUD answer = (INeutronRouterCRUD) ServiceHelper.getGlobalInstance(INeutronRouterCRUD.class, o); + return answer; + } + + public static INeutronFloatingIPCRUD getINeutronFloatingIPCRUD(Object o) { + INeutronFloatingIPCRUD answer = (INeutronFloatingIPCRUD) ServiceHelper.getGlobalInstance(INeutronFloatingIPCRUD.class, o); + return answer; + } + + public static INeutronSecurityGroupCRUD getINeutronSecurityGroupCRUD(Object o) { + INeutronSecurityGroupCRUD answer = (INeutronSecurityGroupCRUD) ServiceHelper.getGlobalInstance(INeutronSecurityGroupCRUD.class, o); + return answer; + } + + public static INeutronSecurityRuleCRUD getINeutronSecurityRuleCRUD(Object o) { + INeutronSecurityRuleCRUD answer = (INeutronSecurityRuleCRUD) ServiceHelper.getGlobalInstance(INeutronSecurityRuleCRUD.class, o); + return answer; + } +} \ No newline at end of file