Skip to content

[minigraph.py] Update minigraph parsing logic to include only active ports for mirror tables#3592

Merged
daall merged 2 commits intosonic-net:masterfrom
daall:acl_template_update
Oct 17, 2019
Merged

[minigraph.py] Update minigraph parsing logic to include only active ports for mirror tables#3592
daall merged 2 commits intosonic-net:masterfrom
daall:acl_template_update

Conversation

@daall
Copy link
Copy Markdown
Contributor

@daall daall commented Oct 11, 2019

[minigraph.py] Update minigraph parsing logic to include only active ports for mirror tables

  • Update minigraph.py to filter out front-panel ports that are not active
  • Update cfggen tests to reflect new behavior

Signed-off-by: Danny Allen daall@microsoft.com

- What I did
Described above.

- How I did it
Described above.

- How to verify it
See tests.

- Description for the changelog

Update minigraph parsing logic to include only active ports for mirror tables

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

…ports for mirror tables

- Update minigraph.py to filter out front-panel ports that are not active
- Update cfggen tests to reflect new behavior

Signed-off-by: Danny Allen <daall@microsoft.com>
- Update t0 tests to include additional device neighbors
- Refactor xml parsing logic
@daall daall merged commit c184815 into sonic-net:master Oct 17, 2019
@daall daall deleted the acl_template_update branch October 17, 2019 23:29
daall added a commit to daall/sonic-buildimage that referenced this pull request Oct 18, 2019
…ports for mirror tables (sonic-net#3592)

* Update minigraph.py to filter out front-panel ports that are not active
* Update cfggen tests to reflect new behavior

Signed-off-by: Danny Allen <daall@microsoft.com>

* Incorporate PR comments
- Update t0 tests to include additional device neighbors
- Refactor xml parsing logic
@renukamanavalan
Copy link
Copy Markdown
Contributor

Dropped 'request for configlet' as could not be cherry-picked onto 201811.
A new PR created for 201811 -- #3634

renukamanavalan pushed a commit that referenced this pull request Oct 24, 2019
…ports for mirror tables (#3592) (#3634)

* Update minigraph.py to filter out front-panel ports that are not active
* Update cfggen tests to reflect new behavior

Signed-off-by: Danny Allen <daall@microsoft.com>

* Incorporate PR comments
- Update t0 tests to include additional device neighbors
- Refactor xml parsing logic
yxieca pushed a commit that referenced this pull request Nov 7, 2019
…ports for mirror tables (#3592) (#3634)

* Update minigraph.py to filter out front-panel ports that are not active
* Update cfggen tests to reflect new behavior

Signed-off-by: Danny Allen <daall@microsoft.com>

* Incorporate PR comments
- Update t0 tests to include additional device neighbors
- Refactor xml parsing logic
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.

4 participants