Skip to content

Bugfix #9739: Support when 'bgp_asn' is set to 'None', 'Null', or missing.#12588

Merged
lguohan merged 1 commit intosonic-net:masterfrom
cchoate54:bugfix-9739
Nov 9, 2022
Merged

Bugfix #9739: Support when 'bgp_asn' is set to 'None', 'Null', or missing.#12588
lguohan merged 1 commit intosonic-net:masterfrom
cchoate54:bugfix-9739

Conversation

@cchoate54
Copy link
Contributor

bgpd.main.conf.j2: bugfix-9739

  • Update bgpd.main.conf.j2 to gracefully handle the bgp configuration cases for when 'bgp_asn' is set to 'None', 'Null', or missing.

Signed-off-by: [email protected]

Why I did it

resolves #9739

How I did it

Include a conditional statement to avoid configuring bgp in FRR when 'bgp_asn' is missing or set to 'None' or 'Null'

How to verify it

Configure 'bgp_asn' as 'None', 'Null' or have it missing from configurations and verify that /etc/frr/bgpd.conf does not have invalid bgp configurations like 'router bgp None'

Description for the changelog

Update bgpd.main.conf.j2 to gracefully handle the bgp configuration cases for when 'bgp_asn' is set to 'None', 'Null', or missing for bugfix 9739.

A picture of a cute animal (not mandatory but encouraged)

bgpd.main.conf.j2: bugfix-9739
* Update bgpd.main.conf.j2 to gracefully handle the bgp configuration cases for when 'bgp_asn' is set to 'None', 'Null', or missing.

Signed-off-by: [email protected]
@cchoate54 cchoate54 requested a review from lguohan as a code owner November 2, 2022 17:42
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 2, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: cchoate54 / name: Caitlin Choate (e90c9cf)

@qiluo-msft qiluo-msft requested a review from abdosi November 2, 2022 21:38
@cchoate54 cchoate54 changed the title Bugfix #9739 Bugfix #9739: Support when 'bgp_asn' is set to 'None', 'Null', or missing. Nov 2, 2022
@cchoate54
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage (Build broadcom)

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage (Build broadcom)

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@cchoate54
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@cchoate54
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lguohan lguohan merged commit 66f1cc4 into sonic-net:master Nov 9, 2022
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.

"DEVICE_METADATA" - "bgp_asn" support

5 participants