Linux command
openstack-port 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List ports
openstack port list
Create port
openstack port create --network [network] [port_name]
Show port details
openstack port show [port_name]
Delete port
openstack port delete [port_name]
说明
openstack port manages network ports in OpenStack Neutron. Ports represent virtual network interfaces attached to instances. Part of OpenStack unified CLI.
参数
- list
- List ports.
- create _name_
- Create port.
- delete _name_
- Delete port.
- show _name_
- Show port details.
- --network _network_
- Network for port.
- --fixed-ip _ip_
- Fixed IP address.
- --security-group _group_
- Security group.
- --mac-address _mac_
- MAC address.
FAQ
What is the openstack-port command used for?
openstack port manages network ports in OpenStack Neutron. Ports represent virtual network interfaces attached to instances. Part of OpenStack unified CLI.
How do I run a basic openstack-port example?
Run `openstack port list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does list do in openstack-port?
List ports.