Skip to content

Add support to specify which resource mode we want to set if we have different modes in same speed mode #617

@kamalsahu0001

Description

@kamalsahu0001

Version information
latest snappi-ixnetwork version

Describe the bug
Currently in vport. py, it assigns the first resource group mode available for a certain speed.
In Aresone-M, we have two resource group modes available for 100G speed mode. When we set 100G speed mode, by default it is picking the first resource group mode. In order to select the second resource group mode available with serdes 53G, we had to modify the port mapping in vport.py to not match 8x100 like below.

"speed_100_gbps": "^(?!.*(twohundredgig|fourhundredgig|eightby|Eighthundredgig)).hundredgig.$","

To Reproduce

Expected behavior
User should be able to specify the required resourcegroup mode.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions