[root@wb5 ~]#
[root@wb5 ~]#
[root@wb5 ~]#
[root@wb5 ~]#
[root@wb5 ~]#
[root@wb5 ~]#
[root@wb5 ~]#
[root@wb5 ~]#
[root@wb5 ~]#
[root@wb5 ~]#
[root@wb5 ~]#
[root@wb5 ~]#
[root@wb5 ~]#
[root@wb5 ~]# ovs-vsctl show =========================原始======================
bf9e88f0-f9f7-4878-81df-6faa332ab037
Bridge br-tun
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port "ens256"
Interface "ens256"
Bridge br-int
fail_mode: secure
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port br-int
Interface br-int
type: internal
ovs_version: "2.3.0"
[root@wb5 ~]# create admin-int=====================增加br-int的一个tap的port=========================
-bash: create: command not found
[root@wb5 ~]# ovs-vsctl show
bf9e88f0-f9f7-4878-81df-6faa332ab037
Bridge br-tun
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port "ens256"
Interface "ens256"
Bridge br-int
fail_mode: secure
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port br-int
Interface br-int
type: internal
Port "tapb3284d90-04"-----------------------------------------------------------------
tag: 1
Interface "tapb3284d90-04"
type: internal
ovs_version: "2.3.0"
[root@wb5 ~]# add admin-router=============================没有变化================
-bash: add: command not found
[root@wb5 ~]# ovs-vsctl show
bf9e88f0-f9f7-4878-81df-6faa332ab037
Bridge br-tun
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port "ens256"
Interface "ens256"
Bridge br-int
fail_mode: secure
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port br-int
Interface br-int
type: internal
Port "tapb3284d90-04"
tag: 1
Interface "tapb3284d90-04"
type: internal
ovs_version: "2.3.0"
[root@wb5 ~]# add ext-net======================================没有变化=========
-bash: add: command not found
[root@wb5 ~]# ovs-vsctl show
bf9e88f0-f9f7-4878-81df-6faa332ab037
Bridge br-tun
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port "ens256"
Interface "ens256"
Bridge br-int
fail_mode: secure
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port br-int
Interface br-int
type: internal
Port "tapb3284d90-04"
tag: 1
Interface "tapb3284d90-04"
type: internal
ovs_version: "2.3.0"
[root@wb5 ~]# add ext-subnet 101~105 108~110=====================增加br-int的一个tap的port====================
-bash: add: command not found
[root@wb5 ~]# ovs-vsctl show
bf9e88f0-f9f7-4878-81df-6faa332ab037
Bridge br-tun
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port "ens256"
Interface "ens256"
Bridge br-int
fail_mode: secure
Port "tap7d3cee3e-2b"
tag: 2
Interface "tap7d3cee3e-2b"----------------------------------------------------------------------
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port br-int
Interface br-int
type: internal
Port "tapb3284d90-04"
tag: 1
Interface "tapb3284d90-04"
type: internal
ovs_version: "2.3.0"
[root@wb5 ~]# add interface to extnet in admin-router==========================没有变化========
-bash: add: command not found
[root@wb5 ~]# ovs-vsctl show
bf9e88f0-f9f7-4878-81df-6faa332ab037
Bridge br-tun
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port "ens256"
Interface "ens256"
Bridge br-int
fail_mode: secure
Port "tap7d3cee3e-2b"
tag: 2
Interface "tap7d3cee3e-2b"
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port br-int
Interface br-int
type: internal
Port "tapb3284d90-04"
tag: 1
Interface "tapb3284d90-04"
type: internal
ovs_version: "2.3.0"
[root@wb5 ~]# add interface to admin-int in admin-router===========================没有变化==================
-bash: add: command not found
[root@wb5 ~]# ovs-vsctl show
bf9e88f0-f9f7-4878-81df-6faa332ab037
Bridge br-tun
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port "ens256"
Interface "ens256"
Bridge br-int
fail_mode: secure
Port "tap7d3cee3e-2b"
tag: 2
Interface "tap7d3cee3e-2b"
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port br-int
Interface br-int
type: internal
Port "tapb3284d90-04"
tag: 1
Interface "tapb3284d90-04"
type: internal
ovs_version: "2.3.0"
[root@wb5 ~]# add a vm 192.168.1.6=====================================增加了br-int的一个qvo的port=======
-bash: add: command not found
[root@wb5 ~]# ovs-vsctl show
bf9e88f0-f9f7-4878-81df-6faa332ab037
Bridge br-tun
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port "ens256"
Interface "ens256"
Bridge br-int
fail_mode: secure
Port "tap7d3cee3e-2b"
tag: 2
Interface "tap7d3cee3e-2b"
type: internal
Port "qvo1a7bcce3-c9"-------------------------------------------------------------
tag: 1
Interface "qvo1a7bcce3-c9"
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port br-int
Interface br-int
type: internal
Port "tapb3284d90-04"
tag: 1
Interface "tapb3284d90-04"
type: internal
ovs_version: "2.3.0"
[root@wb5 ~]# add a vm2 192.168.1.7=========================================增加了br-int的一个qvo的port=============
-bash: add: command not found
[root@wb5 ~]# ovs-vsctl show
bf9e88f0-f9f7-4878-81df-6faa332ab037
Bridge br-tun
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port "ens256"
Interface "ens256"
Bridge br-int
fail_mode: secure
Port "tap7d3cee3e-2b"
tag: 2
Interface "tap7d3cee3e-2b"
type: internal
Port "qvo1a7bcce3-c9"
tag: 1
Interface "qvo1a7bcce3-c9"
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "qvo824b8f9d-c5"----------------------------------------------------------------------
tag: 1
Interface "qvo824b8f9d-c5"
Port br-int
Interface br-int
type: internal
Port "tapb3284d90-04"
tag: 1
Interface "tapb3284d90-04"
type: internal
ovs_version: "2.3.0"
[root@wb5 ~]#

  

总结:

在增加  虚机  和   有子网的网络   的时候才会在br-int这个网桥增加一个port(虚机是qvo, 网络是tap)

openstack新建虚机、网络、路由时候对应的ovs网桥的变化的更多相关文章

  1. OpenStack之虚机冷迁移代码简析

    OpenStack之虚机冷迁移代码简析 前不久我们看了openstack的热迁移代码,并进行了简单的分析.真的,很简单的分析.现在天气凉了,为了应时令,再简析下虚机冷迁移的代码. 还是老样子,前端的H ...

  2. OpenStack之虚机热迁移代码解析

    OpenStack之虚机热迁移代码解析 话说虚机迁移分为冷迁移以及热迁移,所谓热迁移用度娘的话说即是:热迁移(Live Migration,又叫动态迁移.实时迁移),即虚机保存/恢复(Save/Res ...

  3. OpenStack之虚机热迁移

    OpenStack之虚机热迁移 最近要搞虚机的热迁移,所以也就看了看虚机迁移部分的内容.我的系统是CentOS6.5,此处为基于NFS共享平台的虚机迁移.有关NFS共享服务器的搭建可以看这里. Yak ...

  4. OpenStack 创建虚机过程简要汇总

    1. 总体流程 翻译自原文(英文):https://ilearnstack.com/2013/04/26/request-flow-for-provisioning-instance-in-opens ...

  5. openstack nova 虚机镜像后端提取

    参考链接:https://www.cnblogs.com/storymedia/p/4500186.html 1.nova 创建的虚机后端目录 其中的base是虚机基础镜像,创建虚机会根据这个基础镜像 ...

  6. vwware workstation虚机网络配置NAT

    1.在编辑中选择虚拟网络编辑器,新增NAT模式网络适配器,如下图: 2.在虚拟机中选择设置,在网络适配器中自定义为上一步配置的网络适配器,如下图: 3.进入虚拟机后,编辑/etc/sysconfig/ ...

  7. OpenStack 虚机网卡的创建过程

    原文链接:https://www.cnblogs.com/potato-chip/p/9127083.html OpenStack虚机网卡的创建过程 OpenStack最基本和常用的操作就是启动虚机. ...

  8. OpenStack虚机网卡的创建过程

    OpenStack虚机网卡的创建过程 OpenStack最基本和常用的操作就是启动虚机.虚机启动的过程中涉及很多内容,其中非常重要的一个环节就是创建并绑定虚机的虚拟网卡.虚机的创建和管理是Nova的任 ...

  9. Terraform:创建 Azure 虚机

    笔者在前文<Terraform 简介>中简单介绍了 Terraform 相关的概念,本文让我们使用 Terraform 在 Azure 上创建一个虚机,以此来直观体验一下 Terrafor ...

随机推荐

  1. 【处理手记】Configuration system failed to initialize异常的另类原因

    有个c#程序在某台电脑上,执行某个操作时,总是会报如图错误: 度娘一番,发现市面上常见的原因是配置文件中的特定节点的位置不对,或者配置文件损坏等等,而这个程序根本没有使用内置的配置文件方案,而是用的i ...

  2. Failed to create the Java Virtual Machine.问题的解决

    运行Eclipse,出现了"Failed to create the Java Virtual Machine."错误: 解决的办法是在Eclipse的解压目录下找到eclipse ...

  3. 使用Toast的setText()实现倒计时

    点击按钮发送短信以后,倒计时3秒钟后退出Activity.本来想用弹出多个Toast的方法实现,后来发现效果不好,因为Toast.LENGTH_LONG显示3秒钟,Toast.LENGTH_SHORT ...

  4. mysql,命令导入\导出表结构或数据

    在命令行下mysql的数据导出有个很好用命令mysqldump,它的参数有一大把,可以这样查看: mysqldump 最常用的: mysqldump -uroot -pmysql databasefo ...

  5. javaweb——Servlet作为控制器

    1.文件预览 JSP:login.jsp--用户登陆,jsp只是用于向客户端展示信息,处理信息的是servlet. welcome.jsp--用户登陆成功,显示给用户的界面. jsp文件是位于webC ...

  6. 剖析信用卡 DCC 交易

    摘要: 所谓DCC交易(Dynamic Currency Conversion,直译:动态货币转换 ),或者叫CPC交易(Cardholder Preferred Currency,直译:持卡人选定货 ...

  7. Nuget很慢,我们该怎么办

    在VS中给项目添加程序已经采用NuGet 十分方便 不过很多时候速度很慢,一直显示“正在检索信息” 其实直接使用程序包管理控制台,速度就会好很多 如果命令不太会写,安装包名不是确认,可以先登录 htt ...

  8. Code First :使用Entity. Framework编程(2) ----转发 收藏

    第二章:Code First概览 如果你使用第一.二版的EF框架工作过,你会回想起书中的业务案例:Break Away Geek Adventures, 简称BAGA.BAGA共享了很多像我们这样的奇 ...

  9. 成为 Web 开发大师你必须知道的 7 件事情

    曾经是这样的,懂点编码,并可以偶尔耍点酷,那么你就会被认为是一个Web开发大师.但是现在,情况再也不是这样的了.Web开发已经朝着主流方向发展,开发人员数量显著增加.这意味着,如果你想成为这个领域的大 ...

  10. Timeline Portfolio - 时间轴作品集效果

    这里分享一个超炫的时间轴展示作品集效果.设计师和前端开发人员可以借助这个效果来制作新颖的作品集和个人简历.时间轴专门用来呈现出年代的一系列事件.您可以把这种效果嵌入各种媒体,包括微博,视频和地图,并把 ...