当前位置: 首页 > news >正文

Openstack: network: ovs: dpif/show 实例分析:interface

@[TOC

实例

[cbis-admin@overcloud–13 (overcloudrc) ~]$ sudo ovs-appctl dpif/show
system@ovs-system: hit:75198007884 missed:109924265
br-ex:
br-ex 65534/3: (internal) ,65534 是port number; OpenFlow port number; 3 是 ofp_port_to_odp_port(ofproto, ofport->ofp_port); 转换为odp port,open datapath port number;internal是内部类型

    /* Type of netdevs in this class, e.g. "system", "tap", "gre", etc.* One of the providers should supply a "system" type, since this is* the type assumed if no type is specified when opening a netdev.* The "system" type corresponds to an existing network device on the system. */const char *type;

infra-bond 1/4: (system)
phy-br-ex 6/none: (patch: peer=int-br-ex)
vlan500 2/5: (internal)
vlan804 3/6: (internal)
vlan810 4/7: (internal)
vlan812 5/8: (internal)

保留端口

65534 这个是 local port

Open vSwitch also supports the following standard OpenFlow port names (even in contexts where port names are not otherwise supported).  The corresponding OpenFlow 1.0 and 1.1+ port numbers are listed alongside them but should not be used in flow syntax:- ``in_port`` (65528 or 0xfff8; 0xfffffff8)- ``table`` (65529 or 0xfff9; 0xfffffff9)- ``normal`` (65530 or 0xfffa; 0xfffffffa)- ``flood`` (65531 or 0xfffb; 0xfffffffb)- ``all`` (65532 or 0xfffc; 0xfffffffc)- ``controller`` (65533 or 0xfffd; 0xfffffffd)- ``local`` (65534 or 0xfffe; 0xfffffffe)- ``any`` or ``none`` (65535 or 0xffff; 0xffffffff)- ``unset`` (not in OpenFlow 1.0; 0xfffffff7)

这些个特殊的port在openflow的说明里有说明,也叫保留端口
4.5 Reserved Ports
The OpenFlow reserved ports are de ned by this speci cation. They specify generic forwarding actions such as sending to the controller,
fooding, or forwarding using non-OpenFlow methods, such as “normal” switch processing.
A switch is not required to support all reserved ports, just those marked “Required" below.

Optional: LOCAL: Represents the switch’s local networking stack and its management stack. Can be used as an ingress port or as an output port. The local port enables remote entities to interact with the switch and its network services via the OpenFlow network, rather than via a separate control network. With a suitable set of default fow entries it can be used to implement an in-band controller connection.

http://www.lryc.cn/news/59881.html

相关文章:

  • 必要的项目管理软件因素
  • 大学刚毕业,用10000小时,走进字节跳动拿了offer
  • docker 安装 redis
  • Ceph常见问题
  • Android---Jetpack之Paging
  • gensim.models.word2vec() 参数详解
  • 光栅和矢量图像处理SDK:Graphics Mill 11.7Crack
  • 阿里云的客服 锻炼你心性的 一种方式 !!!
  • Linux常用的网络命令有哪些?快速入门!
  • PMP认证价值在哪?这个证书有什么用?
  • 一条更新语句的执行流程又是怎样的呢?
  • promise异步编程指南
  • 20230411----重返学习-网易云音乐首页案例-git远程仓库
  • Ansys Zemax | 模拟 AR 系统中的全息光波导:第二部分
  • 常用Git命令
  • 新手程序员被职场PUA的时候正确的化解姿势
  • LINUX_kali学习笔记
  • 第十天面试实战篇
  • YML是一种数据存储格式
  • 笔记:Java关于轻量级锁与重量级锁之间的问答
  • 有哪些通过PMP认证考试的心得值得分享?
  • 【unity learn】【Ruby 2D】角色发射飞弹
  • C++模板基础(九)
  • 【剑指 Offer】(1)
  • 每日一题 leetcode1026 2023-4-18
  • 【Python_Scrapy学习笔记(十二)】基于Scrapy框架实现POST请求爬虫
  • 《花雕学AI》02:人工智能挺麻利,十分钟就为我写了一篇长长的故事
  • 做程序员累了想要转行?我想给大家分享一下看法
  • 如果你想从事人工智能职业,学习Python吧
  • 百模大战,谁是下一个ChatGPT?