第 72 章 server
本章论述了 server 命令下的命令。
72.1. 服务器添加固定 ip
为服务器添加固定 IP 地址
使用方法:
openstack server add fixed ip [-h] [--fixed-ip-address <ip-address>]
<server> <network>
表 72.1. 位置参数
| 值 | 概述 |
|---|---|
| <server> | 要接收固定的 IP 地址(名称或 ID)的服务器 |
| <network> | 从(名称或 ID)分配固定 IP 地址的网络 |
表 72.2. 可选参数
| 值 | 概述 |
|---|---|
| -h, --help | 显示帮助信息并退出 |
| --fixed-ip-address <ip-address> | 请求的固定 IP 地址 |