use of org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateways.attributes.l2gateways.L2gatewayKey in project netvirt by opendaylight.
the class L2GatewayConnectionUtils method getNeutronL2gateway.
public static L2gateway getNeutronL2gateway(DataBroker broker, Uuid l2GatewayId) {
LOG.debug("getNeutronL2gateway for {}", l2GatewayId.getValue());
InstanceIdentifier<L2gateway> inst = InstanceIdentifier.create(Neutron.class).child(L2gateways.class).child(L2gateway.class, new L2gatewayKey(l2GatewayId));
return MDSALUtil.read(broker, LogicalDatastoreType.CONFIGURATION, inst).orNull();
}
Aggregations