use of org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.SegmentTypeBase in project netvirt by opendaylight.
the class NeutronNetworkChangeListener method updateElanInstance.
private ElanInstance updateElanInstance(String elanInstanceName, Class<? extends SegmentTypeBase> segmentType, String segmentationId, String physicalNetworkName, Network network) {
ElanInstance elanInstance = createElanInstanceBuilder(elanInstanceName, segmentType, segmentationId, physicalNetworkName, network).build();
InstanceIdentifier<ElanInstance> id = createElanInstanceIdentifier(elanInstanceName);
MDSALUtil.syncUpdate(dataBroker, LogicalDatastoreType.CONFIGURATION, id, elanInstance);
return elanInstance;
}
Aggregations