Skip to content

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

Merged
renukamanavalan merged 1 commit intosonic-net:configlet_201811from
daall:configlet_201811_minigraph
Oct 23, 2019
Merged

[minigraph.py] Update minigraph parsing logic to include only active ports for mirror tables#3634
renukamanavalan merged 1 commit intosonic-net:configlet_201811from
daall:configlet_201811_minigraph

Conversation

@daall
Copy link
Contributor

@daall daall commented Oct 18, 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 [email protected]

(cherry-picked from #3592)

…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 <[email protected]>

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

lguohan commented Oct 19, 2019

do we have this in the master branch?

@renukamanavalan
Copy link
Contributor

yes it is in master branch. This is a customized version for 201811, as Master's copy has diverged a lot.

@renukamanavalan renukamanavalan merged this pull request into sonic-net:configlet_201811 Oct 23, 2019
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 <[email protected]>

* 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 <[email protected]>

* Incorporate PR comments
- Update t0 tests to include additional device neighbors
- Refactor xml parsing logic
@daall daall deleted the configlet_201811_minigraph branch November 18, 2019 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants