-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
openstack-{network, port, subnet}: add page #17639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
KristopherLeads
merged 11 commits into
tldr-pages:main
from
ramadasmr:openstack-subcommand-pages
Aug 16, 2025
+80
−0
Merged
Changes from 5 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
e7e6fe2
openstack-network: add page
ramadasmr 6b29678
openstack-port: add page
ramadasmr 1c4b74a
openstack-subnet: add page
ramadasmr 2198697
Merge branch 'main' into openstack-subcommand-pages
ramadasmr 751d411
Merge branch 'main' into openstack-subcommand-pages
ramadasmr 82e3bd9
Update pages/common/openstack-subnet.md
ramadasmr 119ab2c
Update pages/common/openstack-subnet.md
ramadasmr 9bf240a
Update pages/common/openstack-subnet.md
ramadasmr 3553db0
Update pages/common/openstack-port.md
ramadasmr 09a6582
Update pages/common/openstack-port.md
ramadasmr 55a3c4c
Merge branch 'main' into openstack-subcommand-pages
ramadasmr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# 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}}` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 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}}` | ||
ramadasmr marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- Delete a port: | ||
|
||
`openstack port delete {{port_id_or_name}}` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# openstack subnet | ||
|
||
> Manage OpenStack subnets (IP address blocks within a network). | ||
> More information: <https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/subnet.html>. | ||
|
||
- List all subnets: | ||
|
||
`openstack subnet list` | ||
|
||
- Show details of a specific subnet: | ||
|
||
`openstack subnet show {{subnet_id_or_name}}` | ||
|
||
- List subnets associated with a network: | ||
|
||
`openstack subnet list --network {{network_id_or_name}}` | ||
|
||
- Create a subnet with subnet range `192.168.0.0/24` in a given network: | ||
|
||
`openstack subnet create --network {{network_id_or_name}} --subnet-range {{192.168.0.0/24}} {{subnet_name}}` | ||
ramadasmr marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- Delete a subnet: | ||
|
||
`openstack subnet delete {{subnet_id_or_name}}` | ||
|
||
- Update a subnet with DNS 8.8.8.8 and new_subnet_name: | ||
ramadasmr marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
`openstack subnet set --dns-nameserver {{8.8.8.8}} --name {{new_subnet_name}} {{subnet_id}}` | ||
ramadasmr marked this conversation as resolved.
Show resolved
Hide resolved
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.