当前位置:网站首页>openstack详解(二十四)——Neutron服务注册
openstack详解(二十四)——Neutron服务注册
2022-06-11 08:57:00 【永远是少年啊】
今天继续给大家介绍Linux运维相关知识,本文主要内容是Neutron服务注册。
一、Neutron服务实体创建
在上文openstack详解(二十三)——Neutron其他配置、数据库初始化与服务启动中,我们完成了Neutron的相关配置、数据库初始化以及Neutron服务的启动。今天,我们就来进行Neutron在Keystone上的注册。
首先,我们先加载openstack的admin身份,执行命令:
source admin-openstack.sh
这样,我们在后续的openstack服务注册中不会因为权限问题而报错。
之后,我们需要创建Neutron的服务实体,执行命令:
openstack service create --name neutron --description "openstack neutron network" network
该命令执行结果如下所示:
这样,Neutron的服务实体就创建完成了。
二、Neutron API端点创建
接下来,我们要创建Neutron的API服务端点,我们要分别创建public、internal和admin三种类型的Neutron API端点。因此,分别执行命令:
openstack endpoint create --region RegionOne network public http://192.168.136.101:9696
openstack endpoint create --region RegionOne network interval http://192.168.136.101:9696
openstack endpoint create --region RegionOne network admin http://192.168.136.101:9696
这些命令的执行结果如下所示:


三、效果检验
在完成上述所有配置后,我们执行命令:
neutron agent-list
该命令执行结果如下所示:
注意到上图中alive字段,如果出现一个横向的笑脸,则表示我们的Neutron服务注册成功!
原创不易,转载请说明出处:https://blog.csdn.net/weixin_40228200
边栏推荐
- SAP material master data archiving
- leetcode - 518. Change II
- 2、 Rendering camera data
- EN 45545-2t10 precautions for smoke density detection by Horizontal method
- Why is the string class final decorated
- What software is required to process raw format images?
- Getting started with Zipkin
- 83. 删除排序链表中的重复元素
- 领导让我重写测试代码,我也要照办嘛?
- Sword finger offer 51 Reverse pair in array
猜你喜欢

使用express+mysql创建一个基于nodejs的后台服务

M1 芯片指南:M1、M1 Pro、M1 Max 和 M1 Ultra

Screening frog log file analyzer Chinese version installation tutorial

vagrant 安装踩坑

M1 chip guide: M1, M1 pro, M1 Max and M1 ultra

窗帘做EN 1101易燃性测试过程是怎么样的?

The interviewer asked four questions and summed up four experiences

处理RAW格式的图像,需要什么软件?

C language printing heart

leetcode - 460. LFU cache
随机推荐
[C language - Advanced pointer] mining deeper knowledge of pointer
Are the test methods of CMVSS TSD No. 302 and 49 CFR 571.302 the same
端口占用问题,10000端口
BS 7176 fire resistance test for upholstered furniture
What software is required to process raw format images?
682. 棒球比赛
Is it appropriate to apply silicone paint to American Standard UL 790 class a?
PHP solves Chinese display garbled code
M1 芯片指南:M1、M1 Pro、M1 Max 和 M1 Ultra
SAP 物料主数据归档
EN45545-2 R26垂直燃烧测试介绍
1721. exchange nodes in the linked list
876. 链表的中间结点
Complete ES6 questions
SAP ODATA 开发教程
处理RAW格式的图像,需要什么软件?
Sword finger offer 10- ii Frog jumping on steps
C language printing heart
Notes on MySQL core points
What are the requirements of the drive housing UL 2043?