- InstanceIdentifier<EndpointByPort> iid = InstanceIdentifier
- .create(Mappings.class)
- .child(GbpByNeutronMappings.class)
- .child(EndpointsByPorts.class)
- .child(EndpointByPort.class, new EndpointByPortKey(new UniqueId(externalId)));
- Optional<EndpointByPort> optionalEp = readFromDs(LogicalDatastoreType.OPERATIONAL, iid, transaction );
+ InstanceIdentifier<EndpointByPort> iid = InstanceIdentifier.create(Mappings.class)
+ .child(GbpByNeutronMappings.class)
+ .child(EndpointsByPorts.class)
+ .child(EndpointByPort.class, new EndpointByPortKey(externalId));
+ Optional<EndpointByPort> optionalEp = readFromDs(LogicalDatastoreType.OPERATIONAL, iid, transaction);