Misnaming of 'local-interface' as 'source interface' in MLAG Properties DataFrame
amar-ox opened this issue · comments
Amar Abane commented
Description:
In MLAG properties dataframe, the local-interface value from the configuration files is presented in the 'source interface' column of the properties DataFrame. This seems unintuitive and possibly a misnaming.
Runnable example
from pybatfish.client.session import Session
bf = Session(host="localhost")
NETWORK_NAME = "aristaevpn"
SNAPSHOT_NAME = "aristaevpn"
SNAPSHOT_PATH = "path_to_example/aristaevpn/"
bf.set_network("github-bug-report")
bf.init_snapshot(SNAPSHOT_PATH, name=SNAPSHOT_NAME, overwrite=True)
# Verify that Batfish recognized the vendor format correctly
print(bf.q.fileParseStatus().answer())
# Insert command(s) below to demonstrate the problem
mlags = bf.q.mlagProperties(nodes='/DC1-SVC3A/').answer().frame()
mlags # local-interface is declared to be Vlan4094 in config file
Dan Halperin commented
We use Vendor Independent language that is not coupled to the single vendor you happened to use.