We have two requivalent representations here, but topologyPath really
wants to be called mountPath().
JIRA: NETCONF-913
Change-Id: I2be7da552ab4cea5185b589d84878d7e6bb5f5ef
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
private final String name;
private final YangInstanceIdentifier topologyPath;
private final KeyedInstanceIdentifier<Node, NodeKey> topologyBindingPath;
+
private InetSocketAddress address;
private Host host;
@Override
public boolean equals(final Object obj) {
return this == obj || obj instanceof RemoteDeviceId other
- && name.equals(other.name) && topologyBindingPath.equals(other.topologyBindingPath);
+ && name.equals(other.name) && topologyPath.equals(other.topologyPath);
}
@Override
public int hashCode() {
- return Objects.hash(name, topologyBindingPath);
+ return Objects.hash(name, topologyPath);
}
}