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

文档序号:9670864阅读:来源:国知局
tatus</name>
<!—服务功能块的操作状态一>
<synopsis>The SFB status administratively requested.〈/synopsis〉 <typeRef>SFBStatusType</typeRef>
<defaultValue>2</defaultValue〉
</component)
〈component access=〃read_only〃 componentID=〃2〃>
<name>operStatus</name>
〈!一服务功能块的实际状态一>
<synopsis>The SFB actual operat1nal status.〈/synopsis〉 <typeRef>SFBStatusType</typeRef>
<defaultValue>2</defaultValue〉
</component)
〈component access=〃read_write〃 componentID=〃3〃> <name>metadataDispatchTable</name>
<!—分类表一>
〈synopsis〉
The metadataDispatchTable component, which contains entries of ametadata value, a comparator, a thresholdValue and an output index, specifyingthat a packet with the metadata value must go out from the instance with theoutput index of the SFB group output port.</synopsis)
<typeRef>metadataDispatchTableType</typeRef>
</component)
</components)
〈/SFBClassDef〉
4、调度服务功能块类的主要任务是对数据包进行调度处理,如果有多个数据流都需要从同一端口出去的时候,那么就编排这些流的发送顺序和节奏,具体描述如下:〈SFBClassDef SFBClassID="2">
〈components〉
〈component access=〃read_write〃 componentID=〃l〃>
<name>adminStatus</name>
<synopsis>The SFB status administratively requested.〈/synopsis〉 <typeRef>SFBStatusType</typeRef>
<defaultValue>2</defaultValue〉
</component)
〈component access=〃read_only〃 componentID=〃2〃> <name>operStatus</name>
<synopsis>The SFB actual operat1nal status.〈/synopsis〉 <typeRef>SFBStatusType</typeRef>
<defaultValue>2</defaultValue〉
</component)
〈component access=〃read_write〃 componentID=〃3〃> <name>currentSchedulingDiscipline</name>
〈!一调度策略一>
〈synopsis〉
The currentSchedulingDiscipline component, which is for the controller to specify a scheduling discipline to the SFB.</synopsis)
<typeRef>schdDisciplineEntryType</typeRef>
</component)
</components)
〈/SFBClassDef〉
上述类描述中用到的数据格式分列如下:
<dataTypeDef>
<name> SFBStatusType </name>
〈!一服务功能块状态类型一>
〈synopsis〉
Type for SFB status, used for both administrative and operative status.</synopsis)
<atomic>
<baseType>uint32</baseType>
〈specialValues>
〈specialValue value=〃0〃>
<name>Disabled</name>
<synopsis>Port disabled.</synopsis)
</specialValue)
〈specialValue value=〃l〃>
<name>Up</name>
<synopsis>Port up.</synopsis)
</specialValue)
〈specialValue value=〃2〃>
<name>Down</name>
<synopsis>Port down.〈/synopsis〉
</specialValue)
</specialValues> </atomic>
</dataTypeDef>
<dataTypeDef>
<name> metadataDispatchTableType </name>
<!—分类表类型一>
<synopsis>Data type for metadata dispatch table.</synopsis)
〈array type=〃variable_size〃>
<typeRef>metadataDispatchEntryType</typeRef>
</array>
</dataTypeDef>
<dataTypeDef>
<name> metadataDispatchEntryType </name>
〈!一分类条目类型一>
〈synopsis>Data type for metadata dispatch table used inBasicMetadataDispatch SFB.Metadata value of the table is also defined as acontent key field.〈/synopsis〉
<struct>
〈component componentID=〃l〃>
<name>condit1n</name>
<!—条件一>
<synopsis>The condit1n which the metadata must follows.〈/synopsis〉 <typeRef>metadataTableType</typeRef>
</component)
〈component componentID=〃2〃>
<name>act1n</name>
〈!一动作一>
<synopsis)Index of a group output port for outgoing packets.</
synopsis)
<typeRef>portGroupType</typeRef>
</component)
</struct)
</dataTypeDef>
<dataTypeDef>
<name>metadataTableType </name>
〈!--元数据表类型一>
<synopsis>Type of the metadataTable.</synopsis>
〈array type=〃variable_size〃>
<typeRef>metadataEntryType</typeRef>
</array> </dataTypeDef>
<dataTypeDef>
<name> portGroupType </name>
<!—端口动作类型—>
<synopsis>Type of the port groups.〈/synopsis〉
〈array type=〃variable_size〃>
〈typeRef>portType〈/typeRef>
</array>
</dataTypeDef>
<dataTypeDef>
<name> metadataEntryType </name>
〈!一元数据条目类型一>
<synopsis>Type of the metadataEntry.</synopsis>
<struct>
〈component componentID=〃l〃>
<name>metadataID</name>
<synopsis>The ID which represents a dispatch metadata.〈/synopsis〉 〈typeRef>uint32 〈/typeRef〉
</component)
〈component componentID=〃2〃>
<name> comparator </name>
<synopsis>The comparator can be chose and can use as the relat1n ofmetadata and threshold value.〈/synopsis〉
〈typeRef>comparatorEnum〈/typeRef>
</component)
〈component componentID=〃3〃>
<name>thresholdValue</name>
<synopsis>The threshold value that the metadata must compare with.</
synopsis)
<typeRef>arbitrary</typeRef>
</component)
</struct)
</dataTypeDef>
<dataTypeDef>
<name> comparatorEnum </name>
〈!一比较器种类一>
<synopsis>The comparator kinds.〈/synopsis〉
<atomic>
<baseType>uint32</baseType> <rangeRestrict1n>
〈allowedRange min=〃0〃 max=〃5〃/>
</rangeRestrict1n>
〈specifiedValues>
〈specifiedValue value=〃0〃>
<name>equal</name>
<!—等于一>
<synopsis>a equals b.</synopsis)
</specifiedValue>
〈specifiedValue value=〃l〃>
<name>greater</name>
<!—大于一>
<synopsis>a is greater than b.</synopsis)
</specifiedValue)
〈specifiedValue value=〃2〃>
<name>less</name>
<! __ 小于 __>
<synopsis>a is less than b.</synopsis)
</specifiedValue)
〈specifiedValue value=〃3〃> <name>equalOrGreater</name>
〈!一大于等于一>
<synopsis>a equals or greater than b.</synopsis) </specifiedValue)
〈specifiedValue value=〃4〃>
<name>equalOrLess</name>
<!—小于等于一>
<synopsis>a equals or less than b.</synopsis)
</specifiedValue)
〈specifiedValue value=〃5〃>
<name>notEqual</name>
〈!一不等于一>
<synopsis>a is not equal with b.</synopsis)
</specifiedValue)
</specifiedValues>
</atomic>
</dataTypeDef>
<dataTypeDef>
<name>portType</name> 〈!一端口动作类型一>
<synopsis>Type of the port act1ns.〈/synopsis〉
<atomic>
<baseType>int32</baseType>
<rangeRestrict1n>
<al1wedRange min=〃_l〃 max=〃32〃/>
</rangeRestrict1n>
〈specialValues>
〈specialValue value=〃_l〃>
<name>drop</name>
<!—丢包一>
<synopsis&
当前第2页1 2 3 4 5 6 
网友询问留言 已有0条留言
  • 还没有人留言评论。精彩留言会获得点赞!
1