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

Release 3.3.8 #23

Open
wants to merge 255 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
255 commits
Select commit Hold shift + click to select a range
718acd2
Updated config.yml
Pari-Dhanani Jun 14, 2023
902ea18
Updated config.yml
Pari-Dhanani Jun 15, 2023
e8bdd91
Updated config.yml
Pari-Dhanani Jun 15, 2023
7d6a1d9
Updated config.yml
Pari-Dhanani Jun 15, 2023
0b7ab8d
Updated config.yml
Pari-Dhanani Jun 15, 2023
b8210e5
Updated config.yml
Pari-Dhanani Jun 15, 2023
1ab57b9
Updated config.yml
Pari-Dhanani Jun 15, 2023
ceb3cec
Updated config.yml
Pari-Dhanani Jun 15, 2023
b5b24b1
Updated config.yml
Pari-Dhanani Jun 15, 2023
d70af72
Fix default mcast group address in network module (#224)
praveenramoorthy Jun 15, 2023
ce25908
Updated config.yml
Pari-Dhanani Jun 19, 2023
32354d1
Updated config.yml
Pari-Dhanani Jun 19, 2023
de71809
Updated config.yml
Pari-Dhanani Jun 19, 2023
36f587d
Updated config.yml
Pari-Dhanani Jun 19, 2023
b27609f
Updated config.yml
Pari-Dhanani Jun 19, 2023
4dce96c
Updated config.yml
Pari-Dhanani Jun 19, 2023
9bee14c
Updated config.yml
Pari-Dhanani Jun 19, 2023
d66a8ec
Updated config.yml
Pari-Dhanani Jun 19, 2023
28c1e41
Updated config.yml
Pari-Dhanani Jun 19, 2023
bc82b67
Updated config.yml
Pari-Dhanani Jun 19, 2023
03f112b
Updated config.yml
Pari-Dhanani Jun 19, 2023
b6996f1
Updated config.yml
Pari-Dhanani Jun 19, 2023
27a59a2
Updated config.yml
Pari-Dhanani Jun 19, 2023
9701da0
Update dcnm_interface.py
Pari-Dhanani Jun 20, 2023
6d3a39c
Update dcnm_interface.py
Pari-Dhanani Jun 20, 2023
74c218d
Update dcnm_service_policy.py
Pari-Dhanani Jun 22, 2023
efc3d0c
Update dcnm_network.py
Pari-Dhanani Jun 22, 2023
fb9a40a
Update dcnm_inventory.py
Pari-Dhanani Jun 22, 2023
dc3acb7
Updated config.yml
Pari-Dhanani Jun 22, 2023
bf3717f
Updated config.yml
Pari-Dhanani Jun 22, 2023
4541226
Updated config.yml
Pari-Dhanani Jun 22, 2023
e8d2679
Updated config.yml
Pari-Dhanani Jun 22, 2023
a28367b
Updated config.yml
Pari-Dhanani Jun 23, 2023
523c733
Updated config.yml
Pari-Dhanani Jun 23, 2023
ae8b064
Updated config.yml
Pari-Dhanani Jun 23, 2023
d94bf08
Updated config.yml
Pari-Dhanani Jun 23, 2023
71b3e44
Updated config.yml
Pari-Dhanani Jun 23, 2023
6b0726c
Updated config.yml
Pari-Dhanani Jun 23, 2023
28df314
Updated config.yml
Pari-Dhanani Jun 23, 2023
8690bd5
Updated config.yml
Pari-Dhanani Jun 23, 2023
ed723f9
Updated config.yml
Pari-Dhanani Jun 23, 2023
7da5f8c
Updated config.yml
Pari-Dhanani Jun 23, 2023
e8d090d
Updated config.yml
Pari-Dhanani Jun 26, 2023
a2a0465
Updated config.yml
Pari-Dhanani Jun 26, 2023
708349d
Updated config.yml
Pari-Dhanani Jun 26, 2023
743a37b
Updated config.yml
Pari-Dhanani Jun 26, 2023
199ee61
Updated config.yml
Pari-Dhanani Jun 26, 2023
0ffcc1c
Updated config.yml
Pari-Dhanani Jun 26, 2023
6b484eb
Updated config.yml
Pari-Dhanani Jun 26, 2023
e376c1f
Updated config.yml
Pari-Dhanani Jun 26, 2023
4c3fb74
Updated config.yml
Pari-Dhanani Jun 26, 2023
5d1dbb4
Updated config.yml
Pari-Dhanani Jun 27, 2023
a6a04de
Updated config.yml
Pari-Dhanani Jun 27, 2023
4ec2707
Updated config.yml
Pari-Dhanani Jun 27, 2023
d62e8d8
Updated config.yml
Pari-Dhanani Jun 27, 2023
b3bd325
Updated config.yml
Pari-Dhanani Jun 27, 2023
51710b2
Updated config.yml
Pari-Dhanani Jun 27, 2023
ee551ed
Updated config.yml
Pari-Dhanani Jun 27, 2023
9eb014d
Updated config.yml
Pari-Dhanani Jun 27, 2023
cc38e59
Updated config.yml
Pari-Dhanani Jun 27, 2023
db28e8e
Updated config.yml
Pari-Dhanani Jun 27, 2023
e659783
Updated config.yml
Pari-Dhanani Jun 27, 2023
d15ef2c
Updated config.yml
Pari-Dhanani Jun 27, 2023
5844aae
Updated config.yml
Pari-Dhanani Jun 27, 2023
9874f05
Updated config.yml
Pari-Dhanani Jun 27, 2023
f130ed5
Updated config.yml
Pari-Dhanani Jun 27, 2023
eb983af
Updated config.yml
Pari-Dhanani Jun 27, 2023
aec7f06
Updated config.yml
Pari-Dhanani Jun 27, 2023
3babc0c
Updated config.yml
Pari-Dhanani Jun 27, 2023
d012193
Updated config.yml
Pari-Dhanani Jun 27, 2023
081bc86
Updated config.yml
Pari-Dhanani Jun 27, 2023
96c908a
Updated config.yml
Pari-Dhanani Jun 27, 2023
08836ad
Updated config.yml
Pari-Dhanani Jun 27, 2023
b68c6c7
Updated config.yml
Pari-Dhanani Jun 27, 2023
7ea8639
Updated config.yml
Pari-Dhanani Jun 27, 2023
5f970b4
Updated config.yml
Pari-Dhanani Jun 27, 2023
b375658
Updated config.yml
Pari-Dhanani Jun 27, 2023
da10aa0
Updated config.yml
Pari-Dhanani Jun 27, 2023
84df16f
Updated config.yml
Pari-Dhanani Jun 27, 2023
0f3d173
Updated config.yml
Pari-Dhanani Jun 27, 2023
7faebdb
Updated config.yml
Pari-Dhanani Jun 27, 2023
683c866
Updated config.yml
Pari-Dhanani Jun 27, 2023
08d2f17
Updated config.yml
Pari-Dhanani Jun 27, 2023
00a1702
Updated config.yml
Pari-Dhanani Jun 27, 2023
e96d80f
Updated config.yml
Pari-Dhanani Jun 27, 2023
4525d4b
Updated config.yml
Pari-Dhanani Jun 27, 2023
c1d71aa
Updated config.yml
Pari-Dhanani Jun 27, 2023
17b7814
Updated config.yml
Pari-Dhanani Jun 27, 2023
9f63605
Updated config.yml
Pari-Dhanani Jun 27, 2023
9fff5f1
Updated config.yml
Pari-Dhanani Jun 27, 2023
3916483
Updated config.yml
Pari-Dhanani Jun 27, 2023
1d90497
Updated config.yml
Pari-Dhanani Jun 28, 2023
e3a46c3
Updated config.yml
Pari-Dhanani Jun 28, 2023
97456ec
Updated config.yml
Pari-Dhanani Jun 28, 2023
bb3fa87
Updated config.yml
Pari-Dhanani Jun 28, 2023
b2c628c
Updated config.yml
Pari-Dhanani Jun 28, 2023
8788866
Updated config.yml
Pari-Dhanani Jun 28, 2023
6855242
Updated config.yml
Pari-Dhanani Jun 28, 2023
674f606
Updated config.yml
Pari-Dhanani Jun 28, 2023
4ed910c
Updated config.yml
Pari-Dhanani Jun 28, 2023
ed22028
Updated config.yml
Pari-Dhanani Jun 28, 2023
5b7eef1
Merge branch 'CiscoDevNet:develop' into paritest5
Pari-Dhanani Jul 3, 2023
99140cf
Create sanity.yml
Pari-Dhanani Jul 3, 2023
af9b22b
Create sanity.yml
Pari-Dhanani Jul 3, 2023
53f2e08
Update sanity.yml
Pari-Dhanani Jul 3, 2023
030bcff
Update sanity.yml
Pari-Dhanani Jul 3, 2023
0ac34fb
Create sanity.yml
Pari-Dhanani Jul 3, 2023
4fc67c6
Update sanity.yml
Pari-Dhanani Jul 3, 2023
a2dd705
Create sanity.yml
Pari-Dhanani Jul 3, 2023
99c2896
Update sanity.yml
Pari-Dhanani Jul 4, 2023
93bedce
Update sanity.yml
Pari-Dhanani Jul 4, 2023
7ec49a7
Update sanity.yml
Pari-Dhanani Jul 4, 2023
3bcc750
Updated config.yml
Pari-Dhanani Jul 5, 2023
dd3701b
Updated config.yml
Pari-Dhanani Jul 5, 2023
73939ca
Create sanity.yml
Pari-Dhanani Jul 5, 2023
7bbc67a
Update sanity.yml
Pari-Dhanani Jul 5, 2023
0dbe661
Create sanity.yml
Pari-Dhanani Jul 6, 2023
8a8c8f5
Update sanity.yml
Pari-Dhanani Jul 6, 2023
95ca3b9
Create sanity.yml
Pari-Dhanani Jul 6, 2023
808367c
Update main.yaml
Pari-Dhanani Jul 6, 2023
5638265
Update main.yaml
Pari-Dhanani Jul 6, 2023
36dd5b7
Create sanity.yml
Pari-Dhanani Jul 7, 2023
4cc84e5
Create sanity.yml
Pari-Dhanani Jul 7, 2023
e551371
Create sanity.yml
Pari-Dhanani Jul 10, 2023
3e74975
Update main.yaml
Pari-Dhanani Jul 10, 2023
ef5d23a
Update sanity.yml
Pari-Dhanani Jul 10, 2023
ab10196
Updated config.yml
Pari-Dhanani Jul 10, 2023
80b6aa5
Updated config.yml
Pari-Dhanani Jul 10, 2023
975755f
Updated config.yml
Pari-Dhanani Jul 10, 2023
f96e262
Updated config.yml
Pari-Dhanani Jul 10, 2023
0827a60
Updated config.yml
Pari-Dhanani Jul 10, 2023
5e71479
Updated config.yml
Pari-Dhanani Jul 10, 2023
508ed08
Updated config.yml
Pari-Dhanani Jul 10, 2023
0f9bf59
Updated config.yml
Pari-Dhanani Jul 10, 2023
08c4328
Updated config.yml
Pari-Dhanani Jul 10, 2023
147940a
Updated config.yml
Pari-Dhanani Jul 10, 2023
6b2d284
Updated config.yml
Pari-Dhanani Jul 11, 2023
b0ff689
Updated config.yml
Pari-Dhanani Jul 11, 2023
b89b7f6
Updated config.yml
Pari-Dhanani Jul 11, 2023
14c178e
Updated config.yml
Pari-Dhanani Jul 12, 2023
cf77436
Updated config.yml
Pari-Dhanani Jul 12, 2023
4bb42f6
Updated config.yml
Pari-Dhanani Jul 12, 2023
4c5513e
Updated config.yml
Pari-Dhanani Jul 12, 2023
c0033b7
Update main.yaml
Pari-Dhanani Jul 12, 2023
b6d4a14
Update main.yaml
Pari-Dhanani Jul 12, 2023
5f5bbf6
Update sanity.yml
Pari-Dhanani Jul 12, 2023
103ce5d
Updated config.yml
Pari-Dhanani Jul 12, 2023
8745595
Update dcnm.yaml
Pari-Dhanani Jul 12, 2023
ddd617e
Update main.yaml
Pari-Dhanani Jul 12, 2023
0f1bd15
Update main.yaml
Pari-Dhanani Jul 12, 2023
d8575ac
Update dcnm.yaml
Pari-Dhanani Jul 12, 2023
96f1d98
Update main.yaml
Pari-Dhanani Jul 12, 2023
c0ceaa6
Update dcnm.yaml
Pari-Dhanani Jul 13, 2023
149434b
Update dcnm.yaml
Pari-Dhanani Jul 13, 2023
5b6af63
Update main.yaml
Pari-Dhanani Jul 13, 2023
0b4a6da
Update main.yaml
Pari-Dhanani Jul 13, 2023
2b2a417
Update dcnm.yaml
Pari-Dhanani Jul 13, 2023
31fcdb7
Update dcnm.yaml
Pari-Dhanani Jul 13, 2023
d39549b
Update main.yaml
Pari-Dhanani Jul 13, 2023
c7d7486
Update dcnm.yaml
Pari-Dhanani Jul 13, 2023
0b746a6
Update main.yaml
Pari-Dhanani Jul 13, 2023
29930c1
Update main.yaml
Pari-Dhanani Jul 13, 2023
ab5387b
Update dcnm.yaml
Pari-Dhanani Jul 13, 2023
dce8dbc
Update dcnm.yaml
Pari-Dhanani Jul 13, 2023
a6d5b5d
Update main.yaml
Pari-Dhanani Jul 13, 2023
ad57659
Merge pull request #10 from Pari-Dhanani/paritest5
Pari-Dhanani Jul 13, 2023
dfe2661
Updated config.yml
Pari-Dhanani Jul 13, 2023
ffe1ee4
Update main.yaml
Pari-Dhanani Jul 13, 2023
51739cd
Update main.yaml
Pari-Dhanani Jul 13, 2023
428bc9c
Update main.yaml
Pari-Dhanani Jul 13, 2023
3ff2090
Update main.yaml
Pari-Dhanani Jul 13, 2023
c99d154
Update main.yaml
Pari-Dhanani Jul 13, 2023
c9dc02d
Update main.yaml
Pari-Dhanani Jul 13, 2023
3514de5
Update main.yaml
Pari-Dhanani Jul 13, 2023
8ef8269
Update main.yaml
Pari-Dhanani Jul 13, 2023
e2eb0c8
Update main.yaml
Pari-Dhanani Jul 13, 2023
c6b1d44
Update main.yaml
Pari-Dhanani Jul 13, 2023
37ebf27
Update main.yaml
Pari-Dhanani Jul 13, 2023
1a32061
Update main.yaml
Pari-Dhanani Jul 13, 2023
0299d39
Rename sanity.yml to sanity.yaml
Pari-Dhanani Jul 13, 2023
b3e5e05
Rename sanity.yml to sanity.yaml
Pari-Dhanani Jul 13, 2023
bbb118a
Update main.yaml
Pari-Dhanani Jul 13, 2023
0c708a8
Rename sanity.yml to sanity.yaml
Pari-Dhanani Jul 13, 2023
7c23618
Rename sanity.yml to sanity.yaml
Pari-Dhanani Jul 13, 2023
5a135b0
Update main.yaml
Pari-Dhanani Jul 13, 2023
93dd526
Update main.yaml
Pari-Dhanani Jul 13, 2023
3f95d14
Rename sanity.yml to sanity.yaml
Pari-Dhanani Jul 13, 2023
8e16031
Update main.yaml
Pari-Dhanani Jul 13, 2023
426595c
Rename sanity.yml to sanity.yaml
Pari-Dhanani Jul 13, 2023
2ceb2a1
Update main.yaml
Pari-Dhanani Jul 13, 2023
4248fae
Rename sanity.yml to sanity.yaml
Pari-Dhanani Jul 13, 2023
c2d154c
Update main.yaml
Pari-Dhanani Jul 13, 2023
cb52554
Rename sanity.yml to sanity.yaml
Pari-Dhanani Jul 13, 2023
6bd077a
Rename sanity.yml to sanity.yaml
Pari-Dhanani Jul 13, 2023
a84c561
Updated config.yml
Pari-Dhanani Jul 13, 2023
c918844
Updated config.yml
Pari-Dhanani Jul 13, 2023
380c4fd
Updated config.yml
Pari-Dhanani Jul 13, 2023
15e7901
Update sanity.yaml
Pari-Dhanani Jul 13, 2023
24b2cc6
Update sanity.yaml
Pari-Dhanani Jul 14, 2023
9a60c67
Update sanity.yaml
Pari-Dhanani Jul 14, 2023
54bd4bd
Update sanity.yaml
Pari-Dhanani Jul 14, 2023
5c854d6
Updated config.yml
Pari-Dhanani Jul 14, 2023
ec5f07b
Updated sanity
Pari-Dhanani Jul 19, 2023
a87f5df
Update config.yml
Pari-Dhanani Jul 19, 2023
75b5357
Update sanity.yaml
Pari-Dhanani Jul 19, 2023
47eecfe
Update sanity.yaml
Pari-Dhanani Jul 19, 2023
f23fbaa
Update sanity.yaml
Pari-Dhanani Jul 19, 2023
18affda
Update sanity.yaml
Pari-Dhanani Jul 19, 2023
e152db7
Update sanity.yaml
Pari-Dhanani Jul 19, 2023
a0410c1
Update sanity.yaml
Pari-Dhanani Jul 19, 2023
8cc3e84
Update sanity.yaml
Pari-Dhanani Jul 19, 2023
7d5ddbb
Update sanity.yml
Pari-Dhanani Jul 19, 2023
3834775
Update sanity.yaml
Pari-Dhanani Jul 19, 2023
6584426
Update sanity.yaml
Pari-Dhanani Jul 19, 2023
5b66c37
Update sanity.yaml
Pari-Dhanani Jul 19, 2023
0c18912
Merge pull request #11 from Pari-Dhanani/paritest4
Pari-Dhanani Jul 19, 2023
3f192ac
Update dcnm_network.py
Pari-Dhanani Jul 19, 2023
47dd5ef
Update dcnm_network.py
Pari-Dhanani Jul 19, 2023
d88a670
Updated config.yml
Pari-Dhanani Jul 19, 2023
69caa73
Updated config.yml
Pari-Dhanani Jul 19, 2023
58bf201
Delete dcnm_roles.yaml
Pari-Dhanani Jul 19, 2023
cea1bcb
Delete dcnm-ut
Pari-Dhanani Jul 19, 2023
4592090
Delete dcnm_test.yaml
Pari-Dhanani Jul 19, 2023
d5d4348
Delete hosts
Pari-Dhanani Jul 19, 2023
9aeb53a
Delete group_vars directory
Pari-Dhanani Jul 19, 2023
483ad83
Updated config.yml
Pari-Dhanani Jul 19, 2023
084758d
Update dcnm_network.py
Pari-Dhanani Jul 19, 2023
47c50bb
Update sanity.yaml
Pari-Dhanani Jul 19, 2023
74cf71c
Network sanity update
Pari-Dhanani Jul 19, 2023
ba06990
Merge pull request #12 from Pari-Dhanani/paritest4
Pari-Dhanani Jul 20, 2023
0d7f902
Merge branch 'develop' into paritest5
Pari-Dhanani Jul 20, 2023
85879a3
Merge pull request #15 from Pari-Dhanani/paritest5
Pari-Dhanani Jul 20, 2023
1d8fea1
Create releaseinfo.yaml
Pari-Dhanani Jul 20, 2023
bc5ee56
Update releaseinfo.yaml
Pari-Dhanani Jul 20, 2023
cab8eb3
Updated config.yml
Pari-Dhanani Jul 20, 2023
7b54a73
Updated config.yml
Pari-Dhanani Jul 20, 2023
015aa59
Updated config.yml
Pari-Dhanani Jul 20, 2023
ccc20f0
Updated config.yml
Pari-Dhanani Jul 20, 2023
c378987
Updated config.yml
Pari-Dhanani Jul 20, 2023
f8b9e78
Updated config.yml
Pari-Dhanani Jul 20, 2023
7286138
Updated config.yml
Pari-Dhanani Jul 20, 2023
4613ed3
Updated config.yml
Pari-Dhanani Jul 20, 2023
cb96a6f
Updated config.yml
Pari-Dhanani Jul 20, 2023
e4491ee
Update releaseinfo.yaml
Pari-Dhanani Jul 20, 2023
d09c4a4
Update releaseinfo.yaml
Pari-Dhanani Jul 20, 2023
dd49a5d
Update releaseinfo.yaml
Pari-Dhanani Jul 20, 2023
d322730
Updated config.yml
Pari-Dhanani Jul 21, 2023
dbcfb3f
Update releaseinfo.yaml
Pari-Dhanani Jul 25, 2023
d81e174
Update releaseinfo.yaml
Pari-Dhanani Jul 25, 2023
d0fd803
Released new version: 3.3.8
Pari-Dhanani Jul 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
585 changes: 585 additions & 0 deletions .circleci/config.yml

Large diffs are not rendered by default.

121 changes: 0 additions & 121 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,122 +1 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [ develop, main ]
pull_request:
branches: [ develop, main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
name: Build DCNM collection
runs-on: ubuntu-latest
strategy:
matrix:
ansible: [2.9.26, 2.10.17, 2.11.12, 2.12.10, 2.13.8, 2.14.2]
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9

- name: Install ansible-base (v${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/v${{ matrix.ansible }}.tar.gz --disable-pip-version-check

- name: Build a DCNM collection tarball
run: ansible-galaxy collection build --output-path "${GITHUB_WORKSPACE}/.cache/collection-tarballs"

- name: Store migrated collection artifacts
uses: actions/upload-artifact@v1
with:
name: collection
path: .cache/collection-tarballs


sanity:
name: Run ansible-sanity tests
needs:
- build
runs-on: ubuntu-latest
strategy:
matrix:
ansible: [2.9.26, 2.10.17, 2.11.12, 2.12.10, 2.13.8, 2.14.2]
python: [3.8, 3.9]
exclude:
- ansible: 2.9.26
python: 3.9
steps:
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9

- name: Install ansible-base (v${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/v${{ matrix.ansible }}.tar.gz --disable-pip-version-check

- name: Download migrated collection artifacts
uses: actions/download-artifact@v1
with:
name: collection
path: .cache/collection-tarballs

- name: Install the collection tarball
run: ansible-galaxy collection install .cache/collection-tarballs/*.tar.gz

- name: Run sanity tests
run: ansible-test sanity --docker --python ${{matrix.python}} -v --color --truncate 0
working-directory: /home/runner/.ansible/collections/ansible_collections/cisco/dcnm


unit-tests:
name: Run DCNM Unit Tests
needs:
- build
runs-on: ubuntu-latest
strategy:
matrix:
ansible: [2.9.26, 2.10.17, 2.11.12, 2.12.10, 2.13.8, 2.14.2]
steps:
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9

- name: Install ansible-base (v${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/v${{ matrix.ansible }}.tar.gz --disable-pip-version-check

- name: Install coverage (v4.5.4)
run: pip install coverage==4.5.4

- name: Install pytest (v5.4.1)
run: pip install pytest==5.4.1

- name: Download migrated collection artifacts
uses: actions/download-artifact@v1
with:
name: collection
path: .cache/collection-tarballs

- name: Install the collection tarball
run: ansible-galaxy collection install .cache/collection-tarballs/*.tar.gz

- name: Run DCNM Unit tests
run: coverage run --source=. -m pytest tests/unit/modules/dcnm/. -vvvv
working-directory: /home/runner/.ansible/collections/ansible_collections/cisco/dcnm
env:
PYTHONPATH: /home/runner/.ansible/collections

- name: Generate coverage report
run: coverage report
working-directory: /home/runner/.ansible/collections/ansible_collections/cisco/dcnm
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

## [3.3.8] - 2023-07-25

### Added
* Support to configure multiple interfaces for vrf_lite on a vrf
* Added support for more switch roles in inventory module.
* Change 3

### Fixed
* https://github.com/CiscoDevNet/ansible-dcnm/issues/204
* https://github.com/CiscoDevNet/ansible-dcnm/issues/205
* https://github.com/CiscoDevNet/ansible-dcnm/issues/206
* Removed the restriction on netcommon version supported by DCNM collection. The restriction was introduced as fix for CiscoDevNet#209. Netcommon versions >=2.6.1 is supported.

## [3.3.0] - 2023-05-23

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ You can also include it in a `requirements.yml` file and install it with `ansibl
---
collections:
- name: cisco.dcnm
version: 3.3.0
version: 3.3.8
```
## Using this collection

Expand Down
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: cisco
name: dcnm
version: 3.3.0
version: 3.3.8
readme: README.md
authors:
- Shrishail Kariyappanavar <nkshrishail>
Expand Down
2 changes: 0 additions & 2 deletions plugins/action/dcnm_inventory.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Copyright (c) 2020-2022 Cisco and/or its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
Expand Down
17 changes: 12 additions & 5 deletions plugins/modules/dcnm_network.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/usr/bin/python
#
# Copyright (c) 2020-2023 Cisco and/or its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand Down Expand Up @@ -2453,7 +2451,12 @@ def validate_input(self):

if state == "query":

if self.dcnm_version > 11:
# If ingress replication is enabled multicast group address should be set to "" as default.
# If ingress replication is not enabled, the default value for multicast group address
# is different for DCNM and NDFC.
if self.fabric_det.get("replicationMode") == "Ingress":
mcast_group_addr = ""
elif self.dcnm_version > 11:
mcast_group_addr = "239.1.1.1"
else:
mcast_group_addr = "239.1.1.0"
Expand Down Expand Up @@ -2533,8 +2536,12 @@ def validate_input(self):

else:

# The default value for multicast group address is different for DCNM and NDFC.
if self.dcnm_version > 11:
# If ingress replication is enabled multicast group address should be set to "" as default.
# If ingress replication is not enabled, the default value for multicast group address
# is different for DCNM and NDFC.
if self.fabric_det.get("replicationMode") == "Ingress":
mcast_group_addr = ""
elif self.dcnm_version > 11:
mcast_group_addr = "239.1.1.1"
else:
mcast_group_addr = "239.1.1.0"
Expand Down
2 changes: 0 additions & 2 deletions plugins/modules/dcnm_service_policy.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#!/usr/bin/python
#
# Copyright (c) 2021-2023 Cisco and/or its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/dcnm_vrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# random comment
from __future__ import absolute_import, division, print_function

__metaclass__ = type
Expand Down
15 changes: 15 additions & 0 deletions releaseinfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: "3.3.8"
release_title: "Ansible ndfc 3.3.8"
release_desc: "Cisco Ansible DCNM Collection"
changes:
added:
- "Support to configure multiple interfaces for vrf_lite on a vrf"
- "Added support for more switch roles in inventory module."
- "Change 3"

fixed:
- "https://github.com/CiscoDevNet/ansible-dcnm/issues/204"
- "https://github.com/CiscoDevNet/ansible-dcnm/issues/205"
- "https://github.com/CiscoDevNet/ansible-dcnm/issues/206"
- "Removed the restriction on netcommon version supported by DCNM collection. The restriction was introduced as fix for CiscoDevNet#209. Netcommon versions >=2.6.1 is supported."

8 changes: 8 additions & 0 deletions tests/integration/targets/dcnm_interface/tasks/dcnm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,23 @@
patterns: "{{ testcase }}.yaml"
connection: local
register: dcnm_cases
tags: sanity

- set_fact:
test_cases:
files: "{{ dcnm_cases.files }}"
tags: sanity

- name: set test_items
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
tags: sanity

- name: run test cases (connection=httpapi)
include: "{{ test_case_to_run }}"
with_items: "{{ test_items }}"
loop_control:
loop_var: test_case_to_run
tags: sanity

- name: Final Cleanup - delete feature_interface_vlan and hsrp policies that we created during init
cisco.dcnm.dcnm_policy:
Expand All @@ -30,11 +34,13 @@
- ip: "{{ ansible_switch1 }}"
- ip: "{{ ansible_switch2 }}"
register: result
tags: sanity

- assert:
that:
- 'item["RETURN_CODE"] == 200'
loop: '{{ result.response }}'
tags: sanity

- name: Final Cleanup - delete all templates created during init
cisco.dcnm.dcnm_template:
Expand All @@ -43,8 +49,10 @@
- name: my_interface_vlan
- name: my_hsrp
register: result
tags: sanity

- assert:
that:
- 'item["RETURN_CODE"] == 200'
loop: '{{ result.response }}'
tags: sanity
2 changes: 1 addition & 1 deletion tests/integration/targets/dcnm_interface/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
- { include: dcnm.yaml, tags: ['dcnm'] }
- { include: dcnm.yaml, tags: ['dcnm'] }
Loading