openstack 命令行管理十二 - 内部网络[instance专用]管理 (备忘)

IP帮助文档

$  nova help | grep ip
    add-fixed-ip        Add new IP address on a network to server.
    add-floating-ip     DEPRECATED, use floating-ip-associate instead.
    cloudpipe-configure
                        Update the VPN IP/port of a cloudpipe instance.
    cloudpipe-create    Create a cloudpipe instance for the given project.
    cloudpipe-list      Print a list of all cloudpipe instances.
    dns-create          Create a DNS entry for domain, name and ip.
    dns-list            List current DNS entries for domain and ip or domain
    fixed-ip-get        Retrieve info on a fixed ip.
    fixed-ip-reserve    Reserve a fixed IP.
    fixed-ip-unreserve  Unreserve a fixed IP.
    floating-ip-associate
    floating-ip-bulk-create
                        Bulk create floating ips by range.
    floating-ip-bulk-delete
                        Bulk delete floating ips by range.
    floating-ip-bulk-list
                        List all floating ips.
    floating-ip-create  Allocate a floating IP for the current tenant.
    floating-ip-delete  De-allocate a floating IP.
    floating-ip-disassociate
    floating-ip-list    List floating ips for this tenant.
    floating-ip-pool-list
                        List all floating ip pools.
    remove-fixed-ip     Remove an IP address from a server.
    remove-floating-ip  DEPRECATED, use floating-ip-disassociate instead.
                        that the nova.bash_completion script doesn't have to
$ proton help | grep ip
  dgw-agent-list-hosting-connection           List floating-ips on a given gateway-agent.
  ephemeral-ip-count                          
  ephemeral-ip-create                         Create an ephemeral-ip.
  ephemeral-ip-delete                         Delete an ephemeral-ip.
  ephemeral-ip-ha                             Make a ephemeral-ip high available.
  ephemeral-ip-list                           List ephemeral-ips.
  ephemeral-ip-list-on-agent                  List ephemeral-ips on a given gateway-agent.
  ephemeral-ip-move                           Move ephemeral-ip from one gateway agent to another
  ephemeral-ip-show                           Show an ephemeral-ip.
  ephemeral-ip-update                         Update an ephemeral-ip.
  external-ip-pool-count                      
  external-ip-pool-create                     Create an external IP pool.
  external-ip-pool-delete                     Delete an external IP pool.
  external-ip-pool-list                       List external IP pools.
  external-ip-pool-list-for-ephemeral-ip      List external-ip-pools for a given ephemeral-ip.
  external-ip-pool-list-for-floating-ip       List external-ip-pools for a given floating-ip.
  external-ip-pool-list-for-snat              List external-ip-pools for a given snat.
  external-ip-pool-show                       Show the details of the given external IP pool
  external-ip-pool-tag-add                    Add a tag to an external IP pool.
  external-ip-pool-tag-delete                 Delete a tag from the external ip pool
  external-ip-pool-update                     Update an external IP pool.
  fixed-ip-attach                             Attach an fixed-ip to port.
  fixed-ip-count                              
  fixed-ip-create                             Create an fixed-ip.
  fixed-ip-delete                             Delete an fixed-ip.
  fixed-ip-detach                             Detach an fixed-ip from port.
  fixed-ip-list                               List fixed-ips.
  fixed-ip-reattach                           Re-attach an fixed-ip to another port.
  fixed-ip-show                               Show an fixed-ip.
  floating-ip-associate                       Associate an floating-ip with an fixed-ip.
  floating-ip-count                           
  floating-ip-create                          Create an floating-ip.
  floating-ip-delete                          Delete an floating-ip.
  floating-ip-disassociate                    Disassociate an floating-ip with an fixed-ip.
  floating-ip-ha                              Make a floating-ip high available.
  floating-ip-list                            List floating-ips.
  floating-ip-list-on-agent                   List floating-ips on a given gateway-agent.
  floating-ip-move                            Move floating-ip from one gateway agent to another
  floating-ip-show                            Show an floating-ip.
  floating-ip-update                          Update an floating-ip.
  gateway-agent-ephemeral-ip-add              Add ephemeral-ip binding on a given gateway-agent.
  gateway-agent-ephemeral-ip-remove           Remove ephemeral-ip binding on a given gateway-agent.
  gateway-agent-floating-ip-add               Add floating-ip binding on a given gateway-agent.
  gateway-agent-floating-ip-remove            Remove floating-ip binding on a given gateway-agent.
  gateway-agent-list-hosting-ephemeral-ip     List gateway-agents hosting a given ephemeral-ip.
  gateway-agent-list-hosting-floating-ip      List gateway-agents hosting a given floating-ip.
  unha-ephemeral-ip-list                      List un-high-available ephemeral ips belong to a given tenant.
  unha-floating-ip-list                       List un-high-available floating ips belong to a given tenant.
  unha-snat-list                              List un-high-available ephemeral ips belong to a given tenant.
  vip-backend-create                          Create backend.
  vip-backend-delete                          Delete backend.
  vip-backend-delete-by-ip                    Delete backend.
  vip-backend-list                            List backends.
  vip-backend-show                            Show vip.
  vip-backend-update                          Update backend.
  vip-backend-update-by-ip                    Update backend by ip_address.
  vip-count                                   Show vips count
  vip-create                                  Create vip.
  vip-delete                                  Delete vip.
  vip-list                                    List vips.
  vip-show                                    Show vip.
  vip-update                                  Update vip.

网络帮助文档

$ nova help | grep network
    add-fixed-ip        Add new IP address on a network to server.
    interface-attach    Attach a network interface to a server.
    interface-detach    Detach a network interface from a server.
    network-associate-host
                        Associate host with network.
    network-associate-project
                        Associate project with network.
    network-create      Create a network.
    network-disassociate
                        network.
    network-list        Print a list of available networks.
    network-show        Show details about the given network.
    reset-network       Reset network of a server.
                        Add a network interface to a baremetal node.
                        List network interfaces associated with a baremetal
                        Remove a network interface from a baremetal node.
    net                 Show a network
    net-create          Create a network
    net-delete          Delete a network
    net-list            List networks

参考:https://blog.csdn.net/signmem/article/details/19475231

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值