Update cheatsheets

This commit is contained in:
ivuorinen
2025-08-17 00:22:45 +00:00
parent 38ecb2b6c5
commit 42c0c33dde
259 changed files with 1079 additions and 386 deletions

29
tldr/openstack-port Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# openstack port
> Manage OpenStack network ports (virtual network interfaces).
> More information: <https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/port.html>.
- List all ports:
`openstack port list`
- Show detailed information about a specific port:
`openstack port show {{port_id_or_name}}`
- Create a port on a specific network:
`openstack port create --network {{network_id_or_name}} {{port_name}}`
- Create a port and assign it a fixed IP `192.168.1.50`:
`openstack port create --network {{network_id}} --fixed-ip subnet={{subnet_id}},ip-address=192.168.1.50 {{port_name}}`
- Delete a port:
`openstack port delete {{port_id_or_name}}`