@Singleton public class L2gwServiceProvider extends org.opendaylight.infrautils.inject.AbstractLifecycle implements IL2gwService
| Constructor and Description |
|---|
L2gwServiceProvider(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
ElanClusterUtils elanClusterUtils,
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rpcs.rev160406.ItmRpcService itmRpcService,
L2GatewayConnectionUtils l2GatewayConnectionUtils) |
| Modifier and Type | Method and Description |
|---|---|
void |
addL2GatewayConnection(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.connections.attributes.l2gatewayconnections.L2gatewayConnection input) |
void |
addL2GatewayConnection(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.connections.attributes.l2gatewayconnections.L2gatewayConnection input,
String l2GwDeviceName,
org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateways.attributes.l2gateways.L2gateway l2Gateway) |
List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.connections.attributes.l2gatewayconnections.L2gatewayConnection> |
getAssociatedL2GwConnections(Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> l2GatewayIds) |
List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.connections.attributes.l2gatewayconnections.L2gatewayConnection> |
getL2GwConnectionsByL2GatewayId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid l2GatewayId) |
void |
provisionItmAndL2gwConnection(L2GatewayDevice l2GwDevice,
String psName,
String hwvtepNodeId,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tunnelIpAddr) |
protected void |
start() |
protected void |
stop() |
@Inject
public L2gwServiceProvider(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
ElanClusterUtils elanClusterUtils,
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rpcs.rev160406.ItmRpcService itmRpcService,
L2GatewayConnectionUtils l2GatewayConnectionUtils)
public void provisionItmAndL2gwConnection(L2GatewayDevice l2GwDevice, String psName, String hwvtepNodeId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tunnelIpAddr)
provisionItmAndL2gwConnection in interface IL2gwServicepublic List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.connections.attributes.l2gatewayconnections.L2gatewayConnection> getL2GwConnectionsByL2GatewayId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid l2GatewayId)
getL2GwConnectionsByL2GatewayId in interface IL2gwServicepublic void addL2GatewayConnection(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.connections.attributes.l2gatewayconnections.L2gatewayConnection input)
addL2GatewayConnection in interface IL2gwServicepublic void addL2GatewayConnection(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.connections.attributes.l2gatewayconnections.L2gatewayConnection input,
String l2GwDeviceName,
org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateways.attributes.l2gateways.L2gateway l2Gateway)
addL2GatewayConnection in interface IL2gwServicepublic List<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.connections.attributes.l2gatewayconnections.L2gatewayConnection> getAssociatedL2GwConnections(Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> l2GatewayIds)
getAssociatedL2GwConnections in interface IL2gwServiceprotected void start()
start in class org.opendaylight.infrautils.inject.AbstractLifecycleprotected void stop()
stop in class org.opendaylight.infrautils.inject.AbstractLifecycleCopyright © 2019 OpenDaylight. All rights reserved.