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

Correct the variable name of policies.conf.j2 template #7713

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gord1306
Copy link

@gord1306 gord1306 commented May 26, 2021

Why I did it

Verify the sonic-mgmt test_bgp_allow_list.py (the commit base is f9ada0db) and the TestBGPAllowListDeny::test_empty_allow_list_deny was failed

How I did it

Correct the variable name of policies.conf.j2 template

According to the contenet of /etc/sonic/constants.yml, the default action variable name
should be constants.bgp.allow_list.default_action instead of allow_list_default_action

constants:
  bgp:
    allow_list:
      default_action: deny

... skip ...

How to verify it

Verify by the sonic-mgmt and sonic-bgpcfgd unit test

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

Description for the changelog

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

@gord1306 gord1306 requested a review from lguohan as a code owner May 26, 2021 03:09
@gord1306 gord1306 force-pushed the bgpd_policies_conf_j2 branch from e5bb294 to a150987 Compare May 26, 2021 06:46
@gord1306
Copy link
Author

gord1306 commented May 27, 2021

/azpw run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 7713 in repo Azure/sonic-buildimage

@gord1306 gord1306 force-pushed the bgpd_policies_conf_j2 branch from a150987 to f030f66 Compare December 13, 2021 07:49
@gord1306
Copy link
Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

…tion variable name

should be constants.bgp.allow_list.default_action instead of allow_list_default_action

```
constants:
  bgp:
    allow_list:
      default_action: deny

... skip ...

```

Signed-off-by: Gord Chen <gord_chen@edge-core.com>
@gord1306 gord1306 force-pushed the bgpd_policies_conf_j2 branch from f030f66 to 0364a4a Compare December 14, 2021 02:14
@gord1306 gord1306 requested a review from StormLiangMS as a code owner June 10, 2022 02:01
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.

2 participants