opendaylight源码一些数据结构解释

比较零散,先记着,后期整理


主要针对bundle开发的部分数据结构


Edge:Class that describe an Edge connecting two NodeConnector, the edge is directed because there is the tail and the head concept which implies a direction.

Node: Describe a generic network element in multiple SDNs technologies. A Node is identified by the pair (NodeType, NodeID), the nodetype are  

needed in order to further specify the nodeID

NodeConnector: Describe a generic network element attachment points, attached to one Node, the NodeConnector is formed by the pair
  (NodeConnectorType, NodeConnectorID) because each SDN technology can  identify an attachment point on the Node in different way.


  • Node:OpenFlow交换机,Long getId() // dpid (DataPath ID defined in OpenFlow)
  • NodeConnector:Node+Port,Port——Short getId()
  • HostNodeConnector:端口连接主机,Node node = hnc.getnodeconnectorNode();
  • Match match = fmtPkt.getMatch();
  • Flow=Match+Action
  • FlowEntry=Flow+Node

Host:
 Create an Host representation from the combination Data Link
  layer/Network layer address, both are needed to construct the object. Fake value can also be provided in case are not existent. 
@param dataLayerAddress Data Link Address for the host
@param networkAddress Network Address for the host

Path:
Describe a path as a sequence of Edge such that from each of its Head Node there is an link to the next Tail Node in the sequence
getStartNode()
getEndNode()
getEdges()

State:
The class represents the State property of an Edge


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值