Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASN info not present in peer-endpoint #75

Open
chadell opened this issue Dec 17, 2022 · 0 comments
Open

ASN info not present in peer-endpoint #75

chadell opened this issue Dec 17, 2022 · 0 comments

Comments

@chadell
Copy link

chadell commented Dec 17, 2022

Environment

Public Nautobot demo instance: demo.nautobot.com

Expected Behavior

The ASN number is present in the REST API serializer

Observed Behavior

 "autonomous_system": null

Steps to Reproduce

>>> response = requests.get("https://demo.nautobot.com/api/plugins/bgp/peer-endpoints",headers=headers)
>>> bgp_peer_endpoints = response.json()["results"]
>>> print(json.dumps(bgp_peer_endpoints[0], indent=4))
{
    "routing_instance": {
        "display": "dfw01-edge-02 - AS 65535",
    },
    "autonomous_system": null,
}
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

No branches or pull requests

1 participant