rackspace / rack

A CLI for Rackspace (unmaintained)
Other
81 stars 57 forks source link

`rack networks subnet list` returns `<nil>` for Network ID #466

Open catalyst-joe-guo opened 5 years ago

catalyst-joe-guo commented 5 years ago

create a network:

rack networks network create --name my-network

create a subnet in above network:

rack networks subnet create --network-id <NETWORK-ID> --ip-version 4 --cidr 10.10.10.0/24 --name my-subnet

list subnet:

rack networks subnet list

shows for Network ID:

ID            Name          Network ID  CIDR        EnableDHCP  GatewayIP
<SUBNET-ID>         my-subnet           <nil>       10.10.10.0/24   false       

but it's actually not nil when using get:

  rack networks subnet get --id  <SUBNET-ID>