Skip to content

[pytest/lldp]: use neighbor mgmt ip from config db if it is not in lldp#1454

Merged
lguohan merged 1 commit intosonic-net:masterfrom
lguohan:lldp
Mar 15, 2020
Merged

[pytest/lldp]: use neighbor mgmt ip from config db if it is not in lldp#1454
lguohan merged 1 commit intosonic-net:masterfrom
lguohan:lldp

Conversation

@lguohan
Copy link
Copy Markdown
Contributor

@lguohan lguohan commented Mar 15, 2020

use neighbor mgmt ip from config db when neighbor device
does not send mgmt ip via lldp TLV

Signed-off-by: Guohan Lu gulv@microsoft.com

Description of PR

Summary:
Fixes # (issue)

Type of change

  • [] Bug fix
  • [] Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

How did you do it?

How did you verify/test it?

johnar@be5ad9fb861f:/data/sonic-mgmt/tests$ ANSIBLE_LIBRARY=/data/sonic-mgmt/ansible/library/     py.test --inventory veos.vtb --host-pattern all --user admin -vvv --show-capture stdout --testbed vms-kvm-t0             --testbed_file vtestbed.csv --disable_loganalyzer test_lldp.py::test_lldp_neighbor | tee ~/abc.txt
============================= test session starts ==============================
platform linux2 -- Python 2.7.12, pytest-4.6.9, py-1.8.1, pluggy-0.13.1 -- /usr/bin/python
cachedir: .pytest_cache
ansible: 2.8.7
rootdir: /data/sonic-mgmt/tests, inifile: pytest.ini
plugins: ansible-2.2.2
collecting ... collected 1 item

test_lldp.py::test_lldp_neighbor PASSED                                  [100%]

=============================== warnings summary ===============================

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

use neighbor mgmt ip from config db when neighbor device
does not send mgmt ip via lldp TLV

Signed-off-by: Guohan Lu <gulv@microsoft.com>
@lguohan lguohan merged commit f64fe4e into sonic-net:master Mar 15, 2020
@lguohan lguohan deleted the lldp branch March 15, 2020 10:08
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
swss:
* 9376ec6 2021-02-22 | [orchagent] Increase SAI REDIS response timeout to support FW upgrade during init (Mellanox only). (sonic-net#1637) (HEAD -> 202012) [Lior Avramov]
* 6c285f6 2021-02-22 | Updated PFCWD to use single ACL table for PFCWD and MUX (sonic-net#1620) [vmittal-msft]

utilities:
* d2f0e8f 2021-02-24 | [route_check]: Dropped redundant code. (sonic-net#1463) (HEAD -> 202012, github/202012) [Renuka Manavalan]
* 9aaef9b 2021-02-25 | [Mellanox] Add support for SN4600 system (sonic-net#1462) [DavidZagury]
* 60843dd 2021-03-01 | [reboot] Add platform-specific reboot cause update hook (sonic-net#1454) [rkdevi27]
* d9c308c 2021-02-24 | [vlan] Vlan deletion is not allowed when there are members assigned to this VLAN. (sonic-net#1420) [Eran Dahan]
* a72165a 2021-02-25 | [psushow] Add more output columns; Add option to output in JSON format (sonic-net#1416) [Joe LeVeque]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant