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
- Create a port on a specific network:
openstack port create --network
- Create a port and assign it a fixed IP
192.168.1.50:
openstack port create --network --fixed-ip subnet=,ip-address=192.168.1.50
- Delete a port:
openstack port delete
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
