一种面向sdn的服务功能链构建方法_3

文档序号:9670864阅读:来源:国知局
gt;Packets dropped.</synopsis)
</specialValue)
〈specialValue value=〃0〃>
<name>redirect</name>
〈!一重定向一>
<synopsis>Packets redirect to controllers.〈/synopsis〉
</specialValue)
</specialValues>
</atomic>
</dataTypeDef>
<dataTypeDef>
<name>schdDisciplineEntryType</name>
〈!一调度策略条目类型一>
<synopsis>Type of scheduling discipline Entry.〈/synopsis〉
<struct>
〈component componentID=〃l〃>
<name>schdDisciplineID</name>
〈!一调度策略种类一>
<synopsis>The scheduling Discipline category.〈/synopsis〉<typeRef>int32</typeRef〉
</component)
〈component componentID=〃2〃>
<name>schdParamValue</name>
<!—参数值一>
<synopsis>Parameter values in each scheduling discipline.〈/synopsis〉<typeRef>schdParamValueType</typeRef>
</component)
〈component componentID=〃3〃> <name>flowffeight</name>
<!—调度算法中每个流的权重一>
<synopsis>ffeight of each flow.〈/synopsis〉
<typeRef>flowffeightType</typeRef>
</component)
</struct)
</dataTypeDef>
<dataTypeDef>
<name> schdParamValueType </name>
〈!一参数值类型—>
〈synopsis〉
schdParamValue[0]: The pointer of Round Robin scheduling discipline.〈!一循环调度算法的头指针一>
schdParamValue [I]: The schedule gap time of Round Robin schedulingdiscipline.〈!一循环调度算法的间隔时间一>
</synopsis)
〈array type=〃variable_size〃>
<typeRef>arbitrary</typeRef>
</array>
</dataTypeDef>
<dataTypeDef>
<name>f1wffeightType </name>
<!—流的权重一>
〈synopsis〉
flowffeight [I?n]:the weight of flow I to flow n, flow I means the flowcomes from port 1.</synopsis)
〈array type=〃variable_size〃>
<typeRef>floatl6</typeRef〉
</array>
</dataTypeDef>
第三步,网络节点向控制器上报该网络节点资源状况,包括有哪些可选的次要功能元素、元数据和调度算法。本实施例中,网络节点SI和S2上报相同的次要功能元素库,即:<SFBComponentLib>
<dataTypeDef>
<name> rateStatsTabIeType </name>
〈!一流量统计表类型一>
〈synopsis〉
</synopsis) 〈array type=〃variable_size〃>
<typeRef>rateStatsEntryType</typeRef> </array>
</dataTypeDef>
<dataTypeDef>
<name> rateStatsEntryType </name>
〈!一流量统计条目类型—>
〈synopsis〉
</synopsis)
<struct>
〈component componentID=〃l〃> <name>metadataID</name>
<!—元数据值一>
〈synopsis〉
</synopsis)
〈typeRef〉 uint32 〈/typeRef〉
</component)
〈component componentID=〃2〃>
<name> comparator </name>
〈!一比较器一>
〈synopsis〉
</synopsis)
〈typeRef>comparatorEnum〈/typeRef>
</component)
〈component componentID=〃3〃> <name>thresholdValue</name>
<!—阈值一>
〈synopsis〉
</synopsis)
<typeRef>arbitrary</typeRef>
</component)
〈component componentID=〃4〃> <name>rateNum</name>
<!—速率值一>
〈synopsis〉
</synopsis)
<typeRef>floatl6</typeRef〉
</component)
</struct)</dataTypeDef>
<dataTypeDef>
<name>queueStatsTableType</name>
<!—排队状态表类型一>
<synopsis>Data type for queue statistics table.〈/synopsis〉
〈array type=〃variable_size〃>
<typeRef>queueStatsType</typeRef>
</array>
</dataTypeDef>
<dataTypeDef>
<name>queueStatsType</name>
<!—排队状态类型一>
<synopsis>Data type for entry of queue statistics table in SFB.</
synopsis)
<struct>
〈component componentID=〃l〃>
<name>queueID</name>
〈!一队列标识一>
<synopsis>The input queue ID.</synopsis)
〈typeRef>uint32〈/typeRef〉
</component)
〈component componentID=〃2〃>
<name>queueDepthInPackets</name>
〈!一队列长度(以数据包计)一>
<synopsis>Current queue depth in packets.〈/synopsis〉
〈typeRef>uint32〈/typeRef〉
</component)
〈component componentID=〃3〃>
<name>queueDepthInBytes</name>
〈!一队列长度(以字节包计)—>
<synopsis>Current queue depth in bytes.〈/synopsis〉
〈typeRef>uint32〈/typeRef〉
</component)
</struct)
</dataTypeDef>
〈SFBComponents ClassID=,, 1〃>
〈component access=,,read-only,, componentID=〃4〃>
<name>rateStats</name>
<!—速率状态查询一> <synopsis>The rateStats component, which is defined to allow thecontroller to query every rate statistics in the scheduler.〈/synopsis〉<typeRef>rateStatsTableType</typeRef>
</component)
〈component access=,,read-only,, componentID=〃5〃>
<name>rateLimit</name>
<!—速率限制一>
<synopsis>The rateLimit component, which specifies the maximum rateof each flow in a fixed time, 〈/synopsis〉
〈typeRef>uint32〈/typeRef〉
</component)
〈component access=〃read_write〃 componentID=〃6〃> <name>redirect1n</name>
<!—重定向动作一>
<synopsis>The redirect1n component, which can redirect theoverloaded flow to other free servers.〈/synopsis〉
〈typeRef>uint32〈/typeRef〉
〈component access=,,read-only,, componentID=〃7〃> <name>infoStats</name>
<!—信息统计一>
<synopsis>The statistical informat1n of the network.〈/synopsis〉 <typeRef>rateStatsTableType</typeRef>
</SFBComponents>
〈SFBComponents ClassID="2">
〈component access=,,read-only,, componentID=〃4〃>
<name>queueStats</name>
<!—排队状态一>
<synopsis>The queueStats component, which is defined to allow thecontroller to query every queue statistics in the scheduler.〈/synopsis〉
〈!一排队状态标识每个输入队列的长度,控制器通过查询排队状态来决定使用哪种调度策略一>
<typeRef>queueStatsTableType</typeRef>
</component)
〈component access=〃read_write〃 componentID=〃5〃> <name>queueLenLimit</name>
〈!一队长限制一>
<synopsis>The queueLenLimit component, which specifies maximum lengthof each queue.The length unit is in packets.〈/synopsis〉
〈!-_控制器可以根据是否超过队长限制来决定启动调度策略一>〈typeRef>uint32〈/typeRef〉
</component)
〈/SFBComponents〉
</SFBComponentLib>
网络节点SI上报元数据:
<metadataLib>
〈component componentID=〃l〃>
<name>ingressPort</name>
〈!一输入端口一>
<synopsis>The input port of the packets.〈/synopsis〉
</component)
〈component componentID=〃2〃>
<name>EtherSrcAddress</name>
〈!一源以太网地址一>
<synopsis>The Ethernet source address.〈/synopsis〉
</component)
〈component componentID=〃3〃>
<name>EtherDstAddress</name>
〈!一目的以太网地址一>
<synopsis>The Ethernet destinat1n address.〈/synopsis〉
</component)
〈component componentID=〃4〃>
<name>EtherType</name>
<!—以太网包类型一>
<synopsis>The type of an Ethernet packet header.〈/synopsis〉 </component)
〈component componentID=〃5〃>
<name>VlanID</name>
〈! 一Vlan 编号一>
<synopsis>The identificat1n of a Vlan.〈/synopsi
当前第3页1 2 3 4 5 6 
网友询问留言 已有0条留言
  • 还没有人留言评论。精彩留言会获得点赞!
1