private INeutronVPNServiceCRUD vpnInterface;
private INeutronVPNIPSECSiteConnectionsCRUD ipsecScInterface;
private INeutronBgpvpnCRUD bgpvpnInterface;
+ private INeutronL2gatewayCRUD l2gatewayInterface;
+ private INeutronL2gatewayConnectionCRUD l2gatewayConnectionInterface;
public NeutronCRUDInterfaces() {
}
return ipsecpInterface;
}
+ public INeutronL2gatewayCRUD getL2gatewayInterface() {
+ return l2gatewayInterface;
+ }
+
+ public INeutronL2gatewayConnectionCRUD getL2gatewayConnectionInterface() {
+ return l2gatewayConnectionInterface;
+ }
+
public void setVPNServiceInterface(INeutronVPNServiceCRUD iface) {
vpnInterface = iface;
}
return this;
}
+ public NeutronCRUDInterfaces fetchINeutronL2gatewayCRUD(Object obj) {
+ l2gatewayInterface = (INeutronL2gatewayCRUD) getInstances(INeutronL2gatewayCRUD.class, obj);
+ return this;
+ }
+
+ public NeutronCRUDInterfaces fetchINeutronL2gatewayConnectionCRUD(Object obj) {
+ l2gatewayConnectionInterface = (INeutronL2gatewayConnectionCRUD) getInstances(INeutronL2gatewayConnectionCRUD.class, obj);
+ return this;
+ }
+
public Object getInstances(Class<?> clazz, Object bundle) {
try {
BundleContext bCtx = FrameworkUtil.getBundle(bundle.getClass()).getBundleContext();