Skip to content

Commit

Permalink
Add automated unit and integration testing for empty bgp community me…
Browse files Browse the repository at this point in the history
…mber list config handling; Add the standard module name prefix to the fragment file for this PR.
  • Loading branch information
kerry-meyer committed Jan 3, 2024
1 parent c855c3e commit 7505831
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
bugfixes:
- Fix incorrect "facts" handling for parsing of a BGP community list configured with an empty "members" list (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/319).
- sonic_bgp_communities - Fix incorrect "facts" handling for parsing of a BGP community list configured with an empty "members" list (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/319).
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ tests:
- "13"
- name: test2
type: standard
permit: false
match: ALL
no_export: true
no_peer: true
- name: test_case_05
description: Delete1 BGP properties
state: deleted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ merged_01:
- path: "data/openconfig-routing-policy:routing-policy/defined-sets/openconfig-bgp-policy:bgp-defined-sets/community-sets"
response:
code: 200
value:
openconfig-bgp-policy:community-sets:
community-set:
- community-set-name: 'test2'
config:
community-set-name: 'test2'
openconfig-bgp-policy-ext:action: 'PERMIT'
match-set-options: 'ALL'
expected_config_requests:
- path: "data/openconfig-routing-policy:routing-policy/defined-sets/openconfig-bgp-policy:bgp-defined-sets/community-sets"
method: "patch"
Expand Down

0 comments on commit 7505831

Please sign in to comment.