比较零散,先记着,后期整理
主要针对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
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