4.10. 设置地址范围
设置地址范围属性
使用方法:
openstack address scope set [-h]
[--extra-property type=<property_type>,name=<property_name>,value=<property_value>]
[--name <name>] [--share | --no-share]
<address-scope>
openstack address scope set [-h]
[--extra-property type=<property_type>,name=<property_name>,value=<property_value>]
[--name <name>] [--share | --no-share]
<address-scope>
| value | Summary |
|---|---|
| <address-scope> | 要修改的地址范围(名称或 id) |
| value | Summary |
|---|---|
| -h, --help | 显示帮助信息并退出 |
| --extra-property type=<property_type>,name=<property_name>,value=<property_value> | 可以使用此属性传递其他参数。额外属性的默认类型是字符串(str),但也可以使用其他类型。可用的类型有: dict,list,str,bool,int.如果 列出 类型,则 value 可以是以分号分隔的值列表。对于 字典 值,代表以分号分隔的 key:value 对列表。 |
| --name <name> | 设置地址范围名称 |
| --share | 共享项目之间的地址范围 |
| --no-share | 不要在项目间共享地址范围 |