Skip to content

--network-id required in stackit network-interface list #1214

@Kumm-Kai

Description

@Kumm-Kai

Description

There are various cases where the data returned by the IaaS API only contains an interface ID without the corresponding network ID, making it hard or impossible to get details about the NIC without needlessly needing to check every network.

Actual behavior

stackit network-interface list requires --network-id

Expected behavior

--network-id should be optional for stackit network-interface list to list all NIC of the project. For this the ListProjectNICs endpoint can be used

Additionally, the --network-id flag is not marked as "required" in the --help / man page...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions