neutron私有云网络配置
时间: 2023-09-13 15:07:11 浏览: 108
neutron私有云网络的配置可以通过以下步骤进行:
1. 在控制节点上,使用以下命令来初始化数据并检测数据的情况:
```shell
su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head" neutron
mysql -u neutron -pNEUTRON_CXK_DBPASS -e "use neutron;show tables;"
```
这些命令将执行数据初始化并检查数据库表的存在情况。`部分,并进行以下配置:
```shell
[neutron]
url = http://vip:9696
auth_url = http://vip:5000
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = NEUTRON_CXK_PASS
```
在这些配置中,根据实际情况修改`url`、`auth_url`、`project_name`、`username`和`password`等参数,以确保nova服务与neutron服务可以正确进行交互。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [企业自建私有云-openstack-neutron网络服务(控制节点)](https://blog.csdn.net/qq_39122260/article/details/124410263)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [企业自建私有云-openstack-neutron网络服务(计算节点=网络节点)](https://blog.csdn.net/qq_39122260/article/details/124410483)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文