use of org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.natservice.rev160111.snatint.ip.port.map.intip.port.map.IpPortKey in project netvirt by opendaylight.
the class NaptManager method removeFromSnatIpPortDS.
protected void removeFromSnatIpPortDS(long segmentId, String internalIp) {
InstanceIdentifier<IpPort> intIp = InstanceIdentifier.builder(SnatintIpPortMap.class).child(IntipPortMap.class, new IntipPortMapKey(segmentId)).child(IpPort.class, new IpPortKey(internalIp)).build();
// remove from SnatIpPortDS
LOG.debug("removeFromSnatIpPortDS : Removing SnatIpPort from datastore : {}", intIp);
MDSALUtil.syncDelete(dataBroker, LogicalDatastoreType.CONFIGURATION, intIp);
}
Aggregations