Change-Id: I44c48614c1b2fa2aa2268c0cecf275b7638e7e68
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
if (l2gatewayConnection.getUuid() != null) {
result.setID(l2gatewayConnection.getUuid().getValue());
}
- if (l2gatewayConnection.getKey().getUuid() != null) {
- result.setID(l2gatewayConnection.getKey().getUuid().getValue());
- }
if (l2gatewayConnection.getL2gatewayId().getValue() != null) {
result.setL2gatewayID(String.valueOf(l2gatewayConnection.getL2gatewayId().getValue()));
}
final NeutronL2gateway result = new NeutronL2gateway();
final List<NeutronL2gatewayDevice> neutronL2gatewayDevices = new ArrayList<NeutronL2gatewayDevice>();
- if (l2gateway.getUuid() != null) {
- result.setID(l2gateway.getUuid().getValue());
- }
if (l2gateway.getUuid() != null) {
result.setID(l2gateway.getUuid().getValue());
}