Skip to content

Support multiple excluded networks #155

@koorgoo

Description

@koorgoo

Hi,

I am using tcconfig to test software, but --exclude-dst-network and --exclude-src-network with single values is not enough in my case - there are multiple subnets I need to allow traffic to/from.

I suggest supporting multiple parameters with ArgumentParser.add_argument('--argument', nargs='*', ...).

tcset eth0 --direction outgoing --exclude-dst-network 1.2.3.0/24 1.2.0.0/16 --delay 100ms
tcset eth0 --direction incoming --exclude-src-network 1.2.3.0/24 1.2.0.0/16 --delay 100ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions