Skip to content

Restriction in choosing the sender and receiver ports. #68

@subh007

Description

@subh007

In current implementation, we can't choose the sender port because in most of the test cases of_ports[0] is used to send packets and of_ports is list of sorted port_ids.

It will be good idea if we can choose the sender and receiver port.

eg. if we have config_port = { 3:eth3, 2:eth2, 1:eth1}
then it results of_ports = [1,2,3] ( because of sorting on dict keys) and it leads to eth1 to be sender and eth2 be receiver in most of the cases.

So, I am thinking to overcome this problem, we can introduce a new list port_order list in config which will define sender and receiver ports.
eg.
let say port_order = [3,2,1] (3 will be sender and 2 will be receiver)

Please let me know your thoughts.

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