use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.PhysicalSwitchAugmentationBuilder in project netvirt by opendaylight.
the class NodeCopier method mergeOpManagedByAttributes.
public void mergeOpManagedByAttributes(PhysicalSwitchAugmentation psAugmentation, PhysicalSwitchAugmentationBuilder builder, InstanceIdentifier<Node> haNodePath) {
builder.setManagedBy(new HwvtepGlobalRef(haNodePath));
if (psAugmentation != null) {
builder.setHwvtepNodeName(psAugmentation.getHwvtepNodeName());
builder.setHwvtepNodeDescription(psAugmentation.getHwvtepNodeDescription());
builder.setTunnelIps(psAugmentation.getTunnelIps());
if (psAugmentation.getHwvtepNodeName() != null) {
builder.setPhysicalSwitchUuid(HwvtepHAUtil.getUUid(psAugmentation.getHwvtepNodeName().getValue()));
}
}
}
Aggregations