What are the network-related commands in the nova back-end commands
This article mainly introduces the nova back-end commands and network-related commands, have a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to know about it.
Network-related operations mainly include: add-fixed-ip, add-secgroup, fixed-ip-get, fixed-ip-reserve, fixed-ip-unreserve, floating-ip-associate, floating-ip-bulk-create, floating-ip-bulk-delete, floating-ip-bulk-list, floating-ip-create, floating-ip-delete, floating-ip-disassociate, floating-ip-list, floating-ip-pool-list, interface-attach, interface-detach, interface-list, network-associate-host, network-associate-project, network-create, Network-delete 、 network-disassociate 、 network-list 、 network-show 、 refresh-network 、 remove-fixed-ip 、 remove-secgroup 、 reset-network 、 secgroup-add-default-rule 、 secgroup-add-group-rule 、 secgroup-add-rule 、 secgroup-create 、 secgroup-delete 、 secgroup-delete-default-rule 、 secgroup-delete-group-rule 、 secgroup-delete-rule 、 secgroup-list 、 secgroup-list-default-rules 、 secgroup-list-rules 、 secgroup-update 、 tenant-network-create 、 tenant-network-delete 、 tenant-network-list 、 tenant-network-show .
1.add-fixed-ip
Function: bind a fixed IP to the virtual machine usage: nova add-fixed-ip parameter: name of the virtual machine or ID of the UUID; network
2.add-secgroup
Function: add security group usage to virtual machine: nova add-secgroup parameter: name of virtual machine or name of UUID; security group or ID
3.fixed-ip-get
Function: get the information of fixed IP usage: nova fixed-ip-get parameter: fixed IP address
4.fixed-ip-reserve
Function: set aside fixed IP for virtual machine usage: nova fixed-ip-reserve parameter: fixed IP address
5.fixed-ip-unreserve
Function: virtual machine cancels reservation fixed IP usage: nova fixed-ip-unreserve parameter: fixed IP address
6.floating-ip-associate
Function: assign floating IP to virtual machine usage: nova floating-ip-associate [--fixed-address] Parameter: [--fixed-address] fixed IP address name of virtual machine or floating IP to be assigned by ID
7.floating-ip-bulk-create
Function: create floating IP address range usage: nova floating-ip-bulk-create [--pool] [--interface] Parameter: [--pool] address pool [--interface] address range to be created by the network port
8.floating-ip-bulk-delete
Function: delete floating IP address field usage: nova floating-ip-bulk-delete parameter: address range to be deleted
9.floating-ip-bulk-list
Function: enumerate floating IP address field usage: nova floating-ip-bulk-list [--host] Parameter: [--host] filter through host
10.floating-ip-create
Function: create floating IP for current tenant usage: nova floating-ip-create [] Parameter: [] floating IP pool name
11.floating-ip-delete
Function: delete floating IP usage: nova floating-ip-delete parameter: floating IP address
12.floating-ip-disassociate
Function: unbind floating IP usage: nova floating-ip-disassociate parameter: name of virtual machine or ID floating IP address
13.floating-ip-list
Function: display all floating IP usage: nova floating-ip-list parameter: none
14.floating-ip-pool-list
Function: display all floating IP address pool usage: nova floating-ip-pool-list parameter: none
15.interface-attach
Function: Mount a new network card to the virtual machine usage: nova interface-attach [--port-id] [--net-id] [--fixed-ip] Parameter: port_id port ID net_id network ID fixed_ip fixed IP address name or ID of the virtual machine
16.interface-detach
Function: virtual machine uninstalls network card usage: nova interface-detach parameter: virtual machine name or ID port_id port ID
17.interface-list
Function: list of all network cards mounted on a virtual machine usage: nova interface-list parameter: name of the virtual machine or ID
18.network-associate-host
Function: assign a network to a node usage: nova network-associate-host parameter: network ID node name
19.network-associate-project
Function: assign the network to the current tenant usage: nova network-associate-project parameter: network ID
20.network-create
Function: create network usage: nova network-create parameter: network label
21.nertwork-delete
Function: create network usage: nova network-delete parameter: network UUID
22.network-disassociate
Function: remove the node or tenant from the specified network: nova network-disassociate [--host-only []] [--project-only [] Parameter: network UUID
23.network-list
Function: network resource list usage: nova network-list parameter: none
24.network-show
Function: network resource list usage: nova network-show parameter: network UUID
25.refresh-network
Function: refresh network usage: nova refresh-network parameter: network UUID
26.remove-fixed-ip
Function: remove fixed IP usage from virtual machine: nova remove-fixed-ip parameter: name of virtual machine or ID IP address
27.remove-secgroup
Function: remove security group from virtual machine usage: nova remove-fixed-ip parameter: name of virtual machine or ID security group name
28.reset-network
Function: reset the network information of the virtual machine usage: nova reset-network parameter: name of the virtual machine or ID
29.secgroup-add-default-rule
Function: add rules to the default security group usage: nova secgroup-add-default-rule parameter: ip protocol, including icmp, tcp, udp from-port start port to-port end port IP CIDR range
30.secgroup-add-group-rule
Function: add source group rules to security group usage: nova secgroup-add-group-rule parameter: secgroup security group name or ID source-group source group name or ID ip-proto ip protocol from-port start port to-port end port
31.secgroup-add-rule
Function: add rules to security group usage: nova secgroup-add-rule parameter: secgroup security group name or ID ip-proto ip protocol from-port start port to-port end IP CIDR range
32.secgroup-create
Function: create security group usage: nova secgroup-create parameter: name security group name description security group description
33.secgroup-delete
Function: delete security group usage: nova secgroup-delete parameter: name security group name or ID
32.secgroup-delete-default-rule
Function: delete rule usage for default security group: nova secgroup-delete-default-rule parameter: ip protocol, including icmp, tcp, udp from-port start port to-port end port IP CIDR range
33.secgroup-delete-group-rule
Function: delete source group rule usage: nova secgroup-delete-group-rule parameter: secgroup security group name or ID source-group source group name or ID ip-proto ip protocol from-port start port to-port end port
34.secgroup-delete-rule
Function: delete rule usage for security group: nova secgroup-delete-rule parameter: secgroup security group name or ID ip-proto ip protocol from-port start port to-port end IP CIDR range
35.secgroup-list
Function: list the usage of security group rules for current tenants: nova secgroup-list [--all-tenants []] Parameter: [--all-tenants [] whether the security groups of all tenants are displayed
36.secgroup-list-default-rules
Function: list all tenants default security group rule usage: nova secgroup-default-rules parameter: none
37.secgroup-list-rules
Function: enumerate specified security group rule usage: nova secgroup-list-rules parameter: none
38.secgroup-update
Function: update the specified security group usage: nova secgroup-update parameter: secgroup security group name or ID name new name description new description
39.tenant-network-create
Function: create network usage for tenants: nova tenant-network-create parameter: network-label network name cidr IP address field
40.tenant-network-delete
Function: delete network usage for tenants: nova tenant-network-delete parameter: network_id network ID
41.tenant-network-list
Function: display tenant network list usage: nova tenant-network-list parameter: none
42.tenant-network-show
Function: display tenant network details usage: nova tenant-network-show parameters: network_id network ID thank you for reading this article carefully, hope that the editor to share the "nova back-end commands and network-related commands which are helpful to you" this article, but also hope that you support a lot, pay attention to the industry information channel, more related knowledge waiting for you to learn!