+ @Nullable
+ private Subnet getNeutronSubnet(Uuid subnetId) {
+ Subnet subnet = null;
+ InstanceIdentifier<Subnet> inst = InstanceIdentifier.create(Neutron.class).child(Subnets.class).child(Subnet
+ .class, new SubnetKey(subnetId));
+ Optional<Subnet> sn = MDSALUtil.read(broker, LogicalDatastoreType.CONFIGURATION, inst);
+ if (sn.isPresent()) {
+ subnet = sn.get();
+ }
+ LOG.trace("Subnet {} = {}", subnetId, subnet);
+ return subnet;
+ }
+
+ @Nullable