Skip to content

How SNMP test pass since hostname in minigraph will not affect linux hostname #261

@tieguoevan

Description

@tieguoevan

Hi,
https://github.com/Azure/sonic-mgmt/blob/master/ansible/roles/test/tasks/snmp.yml
When I ran the SNMP test, I find the test case will compare SNMP sysname and inventory_hostname.
I know inventory_hostname is same with hostname in minigraph, but hostname in minigraph will not affect linux hostname.
So the sysname get from SNMP is always different from inventory_hostname unless manually modify linux hostname.
I want to know how you make this test pass? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions