Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[show]fix for show muxcable status by replacing "hostname" to "peer_s…
…witch" for deriving tor ipv4_address (#1360) This PR provides the support for fixing the show muxcable config. There was a change in the Config_DB schema where there was an addition of key-value pair "peer_switch:tor_name" in DEVICE_METADATA|localhost table which actually gives the other TOR's name (hostname). This TOR name is then utilized in PEER_SWITCH|switchname table which has "address_ipv4: IPv4 address" key-value pair, which correctly gives the ip address for displaying on the show mux config What is the motivation for this PR? To add the fix the working for show muxcable config Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
- Loading branch information