mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-15 01:48:40 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/openstack-network
Normal file
33
tldr/openstack-network
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# openstack network
|
||||
|
||||
> Manage OpenStack network resources.
|
||||
> More information: <https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/network.html>.
|
||||
|
||||
- List all networks:
|
||||
|
||||
`openstack network list`
|
||||
|
||||
- Show details of a network:
|
||||
|
||||
`openstack network show {{network_id_or_name}}`
|
||||
|
||||
- Create a new network with a given name:
|
||||
|
||||
`openstack network create {{network_name}}`
|
||||
|
||||
- Delete a network:
|
||||
|
||||
`openstack network delete {{network_id_or_name}}`
|
||||
|
||||
- Enable a network:
|
||||
|
||||
`openstack network set --enable {{network_id_or_name}}`
|
||||
|
||||
- Disable a network:
|
||||
|
||||
`openstack network set --disable {{network_id_or_name}}`
|
||||
Reference in New Issue
Block a user