Skip to content

Instantly share code, notes, and snippets.

@srenatus
Created November 1, 2013 13:15
Show Gist options
  • Save srenatus/7265253 to your computer and use it in GitHub Desktop.
Save srenatus/7265253 to your computer and use it in GitHub Desktop.
neat bash history feature...
$ nova net-show new-net
usage: nova [--version] [--debug] [--os-cache] [--timings]
[--timeout <seconds>] [--os-username <auth-user-name>]
[--os-password <auth-password>]
[--os-tenant-name <auth-tenant-name>]
[--os-tenant-id <auth-tenant-id>] [--os-auth-url <auth-url>]
[--os-region-name <region-name>] [--os-auth-system <auth-system>]
[--service-type <service-type>] [--service-name <service-name>]
[--volume-service-name <volume-service-name>]
[--endpoint-type <endpoint-type>]
[--os-compute-api-version <compute-api-ver>]
[--os-cacert <ca-certificate>] [--insecure]
[--bypass-url <bypass-url>]
<subcommand> ...
error: argument <subcommand>: invalid choice: u'net-show'
Try 'nova help ' for more information.
$ neutron !:1-$
neutron net-show new-net
+-----------------------+--------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------+
| admin_state_up | True |
| id | f9be1de3-c7d1-47af-ba7f-40330c1ccaf3 |
| name | new-net |
| port_security_enabled | True |
| queue_id | |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | 3d7beffd-2276-457f-9f86-61599044112f |
| tenant_id | a169446b31244e1a8facea65788951ca |
+-----------------------+--------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment