2022数字孪生网络模型规范_第1页
2022数字孪生网络模型规范_第2页
2022数字孪生网络模型规范_第3页
2022数字孪生网络模型规范_第4页
2022数字孪生网络模型规范_第5页
已阅读5页,还剩158页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

数字孪生网络模型规范2022I数字孪生网络模型规范 2022目录版权声明 I编制说明 II一、数字孪生网络概述 1二、网络建模设计概述 1三、网络设备建模应用场景概述 2(一)设备选型场景 2(二)网络架构设计 3(三)网络建设资源规划 4(四)设备替换选型 4(五)网络巡检 5(六)网络变更和运维 5(七)设备软件版本升级 6四、网络设备模型设计方法 6(一)建模思路 6(二)设计原则 6五、网络设备模型 6(一)通用库 7基础类型定义 7通用属性定义 12(二)硬件模型定义 17电源模型 18风扇模型 20III数字孪生网络模型规范 2022转发卡模型 22业务卡模型 24网络设备模型 27(三)固件模型 32(四)软件模型 35接口能力模型 35二层能力模型 41ACL能力模型 55BGP能力模型 70Telemetry能力模型 93设备软件能力模型 99六、模型实例 101(一)华为设备模型 1011.6865-48S8CQ-EI硬件模型 1012.6865-48S8CQ-EI软件模型 108(二)6.2、锐捷设备模型 1291.N18006-X硬件模型 1292.S6510-X软件能力模型 134(三)6.3、新华三设备模型 153S12508X-AF硬件能力模型 154IV数字孪生网络模型规范 2022一、数字孪生网络概述在《数字孪生应用白皮书(2021)数字化的理念和技术,这种理念和技术是以数据与模型的集成融合为基础与核心的。通过在数字空间实时构建物理对象的精准数字化映射,基于数据整合与分析预测来模拟、验证、预测、控制物理实体全生命周期过程,最终形成智能决策的优化闭环。数字孪生技术具有以下几个特点:1.仿真,它是完全还原了物理实体的;2.实时,它可以实时与其物理实体之间完成数据、感知等各种层面的交互动作;3.共生,它的生命周期与其物理实体之间完全一致;4.闭环优化,它能够在数字空间中采集、分析、模拟与预测其物理实体未来的动作,并对其物理实体的未来动作进行决策优化。数字孪生网络是数字孪生技术的一种具体应用场景,是以数字化方式创建网络实体的虚拟孪生体,且与物理实体之间实时交互的网络系统,其核心要素为:数据、模型、交互、映射。通过建立数字孪生网络,可以对网络及其状态进行数字化映射反映网络的真实运行状态,理解网络各种运行状态的映射和内部关联依赖,通过分析这种关联依赖的变化提前预测网络的故障状态。二、网络建模设计概述如何提高大规模网络的稳定性、提高运维同学的人率不但是运维团队的主要工作,也是网络平台需要解决的问题,数字孪生技术是解决这些问题的关键技术,数字孪生是网络监控和自动化平台进构建智能化能力的基础能力。一方面模型和运行状态数据反映了网络真实状态,监控平台可以基于数字孪生网络进行多维度的分析和告警预测;另一方面,自动化平台可以基于数字孪生网络进行操作验证和仿真,通过提前发现不符合预期的网络操作防止网络故障,也能够对网络操作中的行为和当前的状态进行比较分析,及时发现问题并进行回滚止损,避免更大的网络故障发生。OpenYang1数字孪生网络模型规范 2022型和软件模型提出最佳方案。由于国内外互联网公司和数据中心的发展速度不同以及设备厂商的认知不同,当前不具备统一的规范化方案。OpenYang的网络设备配置的差异进行屏蔽,统一了操作语言,提供统一的方法接口给用模型可以直接使用。三、网络设备建模应用场景概述网络设备建模是对网络设备进行数字化描述,通过模型规范将网络设备的能力和规格参数展示出来。传统的规格书是以文字描述的形式对网络设备的规格能力进行描述,这种规格书更适合人去阅读,不适合机器算法识别和理解。网络设备建模是面向机器的设备规范,这种格式化的格式适合机器识别和理解处理。同时,设备建模也屏蔽不同厂商设备间的差异,在网络架构设计、网络建设部用场景有:设备采购选型、网络架构设计、网络建设部署、网络变更和智能运维、设备替换、网络巡检、软件升级等。(一)设备选型场景2数字孪生网络模型规范 2022传统的设备采购选型需要人工对照硬件规格和软件规格书,由于数据中心网络的迭代速度快,一些性能和功能需求没有体现在规格说明书中,因此需要分别和多个厂商沟通一些性能和功能需求。当引入新设备的时候会涉及多个厂商的设备,从网络标准化需求的方面希望不同厂商的设备在一些能力上保持一致。运营团队同学将网络建设关注的设备属性和能力规范在平台上定义,将厂商提供新设备设备模型定义导入到平台后,平台根据设备模型定义执行判断设备是否满足网络建设和运维的需求并输出设备符合度评估表,运营团队同学使用评估表内容和厂商进行沟通确认。(二)网络架构设计网络架构依赖设备的能力,设备的能力通过模型定义。网络架构中会定义T1、T2、T3色的规范会不尽相同,需要多个厂商设备都支持这些角色的建设。架构师设计架构过程中会对设备角色进行规范定义,根据设备规范通过平台去查询满足这些角色的设备厂商和设备型号。如果现有设备不能满足角色规范要求,或满足的设备类型过少,架构师需要重新对架构进行设计。3数字孪生网络模型规范 2022(三)网络建设资源规划网络工程师在确定规模、网络版本、服务器接入速率、业务属性等信息后,根据架构模型生成拓扑模型,结合设备模型生成适合的网络设备和部件列表,采购和供应链根据网络设备和部件列表,结合价格、供应周期等信息形成采购策略。另外,在资源规划的时候也要考虑功耗、设备占用的机架空间、板卡的排列方式等,在设备选择以后也会根据这些信息生成机架规划和布线规划,进行规划验证和环境仿真。(四)设备替换选型4数字孪生网络模型规范 2022网络设备需要替换的时候,如果库存中有相同型号的设备会优先使用,如果没有相同型号的设备,会根据架构版本中定义的设备角色规范、库存中的设备模型、设备模型库进行查询,找到可以替换的设备列表。(五)网络巡检根据设备模型定义对设备进行健康检查,从模型库中可以获得该型号包含的外设的数目、固件和软件版本信息,通过比较巡检获得的数字诊断信息和模型中的诊断方法进行异常定位。(六)网络变更和运维网络是大规模的分布式系统,每次网络变更都属于一次风险操作,尽量从更多的方面对变更操作产生的风险进行分析。网络模型已经对设备的硬件、固件和软件能力进行了描述,当进行更换版本、版本升级和配置变更的时候,可5数字孪生网络模型规范 2022以根据设备模型进行一次风险评估,如进行背板更换的时候,平台通过硬件模型分析会判断更换背板是否会影响设备的整体转发能力;进行软件升级的时候,更加软件模型可以判断是否是无损升级。(七)设备软件版本升级设备软件版本和功能相关,当厂商推出新的版本以后,根据软件模型和适配的硬件匹配,再结合网络版本模型、CMDB就可以找出需要升级的网络设备。四、网络设备模型设计方法(一)建模思路型定位分为硬件模型、软件模型、固件模型。硬件模型包括主机硬件、部件硬FPGA、CPLD(二)设计原则在网络建模中遵循的设计原则有:模型中只包括系统中需要使用的字段;异常进行快速感知;成本,修改互联关系不用在两个设备间进行同步。五、网络设备模型6数字孪生网络模型规范 2022(一)通用库通用库包括基础类型定义、设备通用属性定义两个部分。基础类型定义modulenet-device-types{yang-version"1.1";namespace"/yang/net-device/types/yang";prefix"net-dev-type";description"commontypesdefinitions";identitySTORAGE_TYPE{description"storagetype";}identityNOR_FLASH{base}identityNAND_FLASH{identityRJ45{baseCAGE_TYPE;}identitySFP{baseCAGE_TYPE;}identitySFP28{baseCAGE_TYPE;}identityDSFP{baseCAGE_TYPE;}identityQSFP28{baseCAGE_TYPE;}7数字孪生网络模型规范 2022baseSTORAGE_TYPE;}identityEMMC_FLASH{base}identityHDD{baseSTORAGE_TYPE;}identitySSD{baseSTORAGE_TYPE;}identityCAGE_TYPE{description"cagetype";}identityQSFP56{baseCAGE_TYPE;}identityQSFPDD{baseCAGE_TYPE;}identityQSFPDD112baseCAGE_TYPE;}identityCPU_ARCH{description"cpuarchitecture";}identityMIPS32{base}identityMIPS64{base}8数字孪生网络模型规范identityARM32{baseCPU_ARCH;

2022}identityARM64{base}identityX86_64{base}identityX86_32{base}identityPPC32{base}identityPPC64{base}identityFIRMWARE_TYPE{description"firmwarebasetype";}identityBIOS{baseFIRMWARE_TYPE;}identityBOOTLOADER{baseFIRMWARE_TYPE;}identityPCB{baseFIRMWARE_TYPE;}identityCPLD{baseFIRMWARE_TYPE;}9数字孪生网络模型规范identityFPGA{baseFIRMWARE_TYPE;

2022}typedefdate{typestring{pattern'\d{4}-\d{2}-\d{2}';}description"YYYY-MM-DD";}typedeffloat{typedecimal64{fraction-digits2;}}typedefasic-vendor{description"ASICVendortype";typeenumeration{enumBROADCOM{value1;description"broadcom";}enumMELLANOX{value2;description"mellanox";}}}typedefposition{typeenumeration{enum"FRONT_PANEL"{value1;}enum"BACK_PANEL"{value2;}}}typedefport-speed{10数字孪生网络模型规范typeenumeration{enum"100M"{value1;

2022}enum"1G"value2;}enum"10G"value3;}enum"25G"value4;}enum"40G"value5;}enum"50G"value6;}enum"100G"value7;}enum"200G"value8;}enum"400G"value9;}}}typedefcpu-arch{typeenumeration{enum"x86-64"value1;}enum"arm64"value2;}}}typedefairflow-direction{11数字孪生网络模型规范 2022typeenumeration{enum"DIRECT_FRONT_TO_REAR"{value1;}enum"DIRECT_REAR_TO_FRONT"{value2;}}}typedefstatus{typeenumerationenum"normal"value1;}enum"abnormal"value2;}}}}通用属性定义modulenet-device-common{//namespacenamespace"urn:device:params:xml:ns:yang:net-device-common";prefix"device-common";//importsomebasictypesimportnet-device-types{prefixdevice-type;}//metaorganization"OpenDataCenterCommittee";contact"Tel-mail:odcc@";description"ThismodulecontainstheYANGdefinitionfornetworkdevicecommondefine.";12数字孪生网络模型规范 2022revision"2022-02-11"{description"Initialrevision";}groupingslot-range-top{containerslot-range{leafmin-slot-idtypeuint16;}leafmax-slot-idtypeuint16;}description"0meansapizzabox";}}groupingsubsystem{description"subsystemdesciption";containerinfos{listcpu-infokeydescription"CPUleafcpu-id{typeuint32;}leafvendor{typestring;description"CPUvendor";}leafcpu-arch{typedevice-type:cpu-arch;}leafcpu-model{13数字孪生网络模型规范 2022typestring;description"CPUmodelname";}leafcore-num{typeuint16;description"numberofcores";}leaffrequency{typeuint32;units"MHZ";description"CPUdominantfrequency";}}containermem-info{description"DRAMmemoryinformation";leafvendor{typestring;description"vendorname";}leaftype{description"DRAMtype";typeenumerationenumDDR3;enumDDR4;enumDDR5;}}leaftotal-sizetypeuint32;units"MB";description14数字孪生网络模型规范 2022"TotalMemory,unitisMB";}}containerstorage-infos{description"storageinformation";liststorage-info{keyindex;leafindex{typeuint16;}leafvendor{typestring;description"flashvendorname";}leaftype{typeidentityref{basedevice-type:STORAGE_TYPE;}}leafstorage-capacitytypeuint32;unitsdescription"flashstoragesize";}}}}}groupingdevice-performance{leafpacket-fwd-rate{typedevice-type:float;units"Mpps";description"maximumMppsrate";}15数字孪生网络模型规范leafdevice-capacity{typedevice-type:float;units"Tbps";description"devicecapacity";

2022}}groupingdevice-asics{description"flashstorageinformation";leafnumber{typeuint16;description"totalnumberofchips";}listdevice-asic{description"singleswitchingchip";key"unit-id";leafunit-id{typeuint16;description"chipunitnumber";}leafvendor{typedevice-type:asic-vendor;description"vendorname";}leafmodel{typestring;description"chipmodel";}leafbuffer-size{typeuint32;units"MB";description"switchingchipbuffersize";}usesdevice-performance;16数字孪生网络模型规范 2022}}groupingpower-consumption{leaftypical-power-consumptiontypeuint32;units"W";description"typicalpowerconsumption";}leafmax-power-consumptiontypeuint32;units"W";description"Maximumpowerconsumption";}}groupingtemperature-limit{leafupper-limit{typeunits"C";description"maximumoperatingtemperature";}leaflower-limittypeint16;units"C";description"minimumoperatingtemperature";}}//datadefinitionsatements//augmentstatements}(二)硬件模型定义17数字孪生网络模型规范 2022硬件模型包括业务卡、背板转发卡、电源、风扇、设备主机定义几个部分。1.电源模型modulenet-device-psu{//namespacenamespace"urn:device:params:xml:ns:yang:net-device-psu";prefix"device-psu";//importsomebasictypesimportnet-device-types{prefixdevice-type;}//metaorganization"OpenDataCenterCommittee";contact"Tel-mail:odcc@";description"ThismodulecontainstheYANGdefinitionfornetworkdevicepower-supply-unit.";revision"2022-02-11"{description"Initialrevision";}groupingpsu-supply-info{leafmin-input-voltagedescription"minimuminputtypedevice-type:float;units"V";}leafmax-output-power{description"maximumoutputpower";typedevice-type:float;units"W";}18数字孪生网络模型规范 2022containerrated-input-voltage-range{description"ratedinputvoltagerange";leafmin-voltage{typedevice-type:float;units"V";}leafmax-voltage{typedevice-type:float;units"V";}}leafrated-output-voltage{description"ratedoutputtypedevice-type:float;units"V";}leafrated-input-current{typedevice-type:float;description"ratedinputcurrent";units"A";}leafrated-output-current{typedevice-type:float;description"ratedoutputcurrent";units"A";}leafrated-output-power{description"ratedoutputpower";typedevice-type:float;units"W";}}groupingpsu-top{containerpsudescription"powersupplyunit";leafpsu-count{19数字孪生网络模型规范 2022typeuint16;description"maximumnumberofpsu";}leafmin-number{typeuint16;description"minimumnumberofpsu";}leafpluggable{type}leafpsu-modeltypedescription"psumodel";}containerpsu-supply-DCdescription"DC";usespsu-supply-info;}containerpsu-supply-ACdescription"AC";usespsu-supply-info;}}}}风扇模型modulenet-device-fan{//namespacenamespace"urn:device:params:xml:ns:yang:net-device-fan";prefix"device-fan";//importsomebasictypesimportnet-device-types{prefixdevice-type;}20数字孪生网络模型规范 2022//metaorganization"OpenDataCenterCommittee";contact"Tel-mail:odcc@";description"ThismodulecontainstheYANGdefinitionfornetworkdevicefan.";revision"2022-02-11"{description"Initialrevision";}groupingfan-top{containerfan{leafmax-number{typeuint16;description"maximumnumberoffans";}leafmin-number{typeuint16;description"minimumnumberoffans";}leafpluggable{typeboolean;}leafairflow-direction{typedevice-type:airflow-direction;}leaffan-model{typestring;description"fanmodel";}21数字孪生网络模型规范 2022leafmax-speed{typeuint32;units"rpm";description"maximumrpm";}leaftypical-noise-level{description"typicaltypedevice-type:float;units"dBA";}leaffullspeed-noise-level{description"maximumtypedevice-type:float;units"dBA";}}}//datadefinitionstatements//augmentstatements}转发卡模型modulenet-device-fabric-card{//namespacenamespace"urn:device:params:xml:ns:yang:net-device-fabric-card";prefix"device-fabric-card";//importsomebasictypesimportnet-device-common{prefixdevice-common;}importnet-device-types{prefixdevice-type;}//metaorganization"OpenDataCenterCommittee";contact22数字孪生网络模型规范 2022"Tel-mail:odcc@";description"ThismodulecontainstheYANGdefinitionfordevicefabriccards.";revision"2022-02-11"description"Initialrevision";}groupingfabric-cards-topcontainerfabric-cardleafmax-number{typeuint16;description"Numberofsupportedfabriccards";}leafmin-number{typeuint16;description"Minimumnumberoffabriccards";}usesdevice-common:slot-range-top;leafweight{typedevice-type:float;units"kg";description"grossweightofallfabriccards";}leafdev-model{typestring;description"FE-cardmodelname";}containerfe-subsystem{description"FE-cardcpusubsystem";usesdevice-common:subsystem;}23数字孪生网络模型规范 2022containerfe-asics{description"asicchipsofFE-card";usesdevice-common:device-asics;}containerfe-power-consumption{description"fe-cardpowerconsumption";usesdevice-common:power-consumption;}}}}业务卡模型modulenet-device-linecard{//namespacenamespace"urn:device:params:xml:ns:yang:net-device-lc";prefix"device-lc";//importsomebasictypesimportnet-device-types{prefixdevice-type;}importnet-device-common{prefixdevice-common;}//metaorganization"OpenDataCenterCommittee";contact"Tel-mail:odcc@";description"ThismodulecontainstheYANGdefinitionfordevicelinecards.";revision"2022-02-11"{description"Initialrevision";}groupinglinecards-top{containerlinecards{24数字孪生网络模型规范 2022device";

description"linecardcompoment,logicalcompomentforboxleafnumber{typeuint16;description"numberoflinecards";}leafweight{typedevice-type:float;units"kg";description"weightofacard";}leafdev-modeltypedescription"linecardmodelname";}listlinecard{key"slot-id";leafslot-idtypeuint16;description"linecardslotid";}containerlinecard-subsystem{description"linecardcpusubsystem";usesdevice-common:subsystem;}containerlc-asics{description"switchingchipsoflinecard";usesdevice-common:device-asics;}25数字孪生网络模型规范 2022containerlc-power-consumption{description"powerconsumptionoflinecard";usesdevice-common:power-consumption;}containerports{description"portcompoment";leafcount{typeuint16;description"portcount";}listport{key"speed";leafport-id-range{typestring;description"multiplerangesareseparatedbycommma,thestartandendportareseparatedby'-',suchas1-48,50-52";}leafspeed{typedevice-type:port-speed;}leafcage-type{typeidentityref{basedevice-type:CAGE_TYPE;}description"intefacecagetype";}}}}26数字孪生网络模型规范 2022}}//datadefinitionstatements//augmentstatements}网络设备模型modulenet-deviceyang-version"1.1";//namespacenamespace"urn:device:params:xml:ns:yang:net-device";prefix"net-device";//importsomebasictypesimportnet-device-types{prefixdevice-type;}importnet-device-common{prefixdevice-common;}importnet-device-fabric-card{prefixdevice-fabric-card;importnet-device-fan{prefixdevice-fan;}importnet-device-linecard{prefixdevice-linecard;importnet-device-psu{prefixdevice-psu;}//metaorganization"OpenDataCenterCommittee";contact"Tel-mail:odcc@";description"ThismodulecontainstheYANGdefinitionfornetworkdevice.";revision"2022-02-11"{description"Initialrevision";}containernet-device{27数字孪生网络模型规范 2022containerproduct-info{leafvendor{typestring;description"manufactor'sname";}leafdev-model{typestring;description"devicemodel";}containerfirmwares{leaf-listfirmwaretypeidentityref{basedevice-type:FIRMWARE_TYPE;}}}leafpurchase-date{typedevice-type:date;description"purchasedate";}leafdev-type{typeenumeration{enumCHASSIS;enumBOX;}description"devicetype";}}containerdimension{description"devicedimension";leaflength{typeuint16;units"mm";28数字孪生网络模型规范 2022description"devicelength,unitismm";}leafwidth{typeuint16;units"mm";description"devicewidth,unitismm";}leafheight{typeuint16;units"mm";description"deviceheight,unitismm";}}leafweight{typedevice-type:float;units"kg";description"totalweightofthedeivce,excludinglinecardsandfabriccardsifdeviceisachassis";}containerpower-consumption{description"totalpowerconsumptionofdevice,excludinglinecardsifdeviceisachassis";usesdevice-common:power-consumption;}containerwork-temperature{description"workingtemperature";usesdevice-common:temperature-limit;}containerstorage-temperature{description"storagetemperature";usesdevice-common:temperature-limit;}containeraltitude{description"workingaltitude";29数字孪生网络模型规范 2022leafupper-limit{typeint16;units"m";description"themaximumofworkingaltitude,unitsismeter";}leaflower-limit{typeint16;units"m";description"theminimumofworkingaltitude,unitsismeter";}}containerhumidity{description"relativehumidityofworkingenvironment";leafupper-limit{typeuint16;units"RH";description"themaximumofrelativehumidity";}leaflower-limit{typeuint16;units"RH";description"theminimumofrelativehumidity";}}containerdevice-performance{description"deviceperormance";usesdevice-common:device-performance;}containercontrol-engine{leafnumber{30数字孪生网络模型规范 2022typeuint16;description"thenumberofcontrolengine";}usesdevice-common:slot-range-top;containermgmt-port{leafname{typestring;}leafmax-speed{typedevice-type:port-speed;}leafposition{typedevice-type:position;}}containerusb-port{leafusb-number{typeuint16;description"numberofusbport";}leafusb-version{typeenumerationenumUSB_2_0;enumUSB_3_0;}description"maximumversionofUSB";}}containerconsole{leafdefault-baudratetypeuint32;}leafposition{typedevice-type:position;}}leafdev-model{31数字孪生网络模型规范 2022typestring;description"devicemodel";}containerengine-subsystem{description"enginesubsystem";usesdevice-common:subsystem;}containerbmc-subsystem{description"BMCsubsystem";usesdevice-common:subsystem;}card";

containerce-power-consumption{description"powerconsumptionofcontrolengineusesdevice-common:power-consumption;}}usesdevice-fabric-card:fabric-cards-top;usesdevice-linecard:linecards-top;usesdevice-fan:fan-top;usesdevice-psu:psu-top;}}(三)固件模型modulenet-device-firmware{//namespacenamespace"urn:device:params:xml:ns:yang:net-device-firmware";prefix"device-dev-firmware";//importsomebasictypes//metaorganization"OpenDataCenterCommittee";32数字孪生网络模型规范 2022contact"Tel-mail:odcc@";description"ThismodulecontainstheYANGdefinitionfornetworkdevicefan.";revision"2022-02-11"{description"Initialrevision";}groupingfirmware-top{containerfirmwares{leafserial-number{typestring;description"deviceSerialNumber";}listmac-address{key"name";leafname{typestring{pattern'[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}';}description"deviceMACaddress";}}listfirmwarekeyleaf name{typestring;description"firmwarename";}leaftype{typeenumeration{enumCPLD;33数字孪生网络模型规范 2022enumBIOS;}description"firmwaretype";}leafversion{typestring;description"firmwareversion";}}listsensor{keynumber;leaftypeint16;description"sensornumber";}leafname{typestring;description"sensorname";}leafupper-limit{typeint16;units"C";description"themaximumofworkingtemperature";}leaflower-limit{typeint16;units"C";description"theminimumofworkingtemperature";}leaftemp-state{typeint16;units"C";34数字孪生网络模型规范 2022description"currenttemperature";}}}}//datadefinitionstatementsusesfirmware-top;//augmentstatements}(四)软件模型在设备软件能力模型当前包括接口能力模型、二层能力模型、ACLTelemetry力集合,根据需求可以不断添加新的能力模型。接口能力模型(1)net-software-if-types.yangmodulenet-software-if-types{yang-version1.1;namespace"urn:device:params:xml:ns:yang:net-software-if-types";

prefix"net-software-if-types";organization"OpenDataCenterCommittee";contact"Tel-mail:odcc@";description"ThismodulecontainstheYANGdefinitionfornetworksoftwareinterfacecommontypes.";revision"2022-03-29"{description"Initialrevision";}identityINTERFACE_TYPE{description"Baseidentityfromwhichinterfacetypesarederived";35数字孪生网络模型规范 2022}identityIF_ETHERNET{baseINTERFACE_TYPE;description"EthernetinterfacesbasedonIEEE802.3standards,aswellasFlexEthernet";reference"IEEE802.3-2015-IEEEStandardforEthernetOIFFlexEthernetImplementationAgreement1.0";}identityIF_BAGG{baseINTERFACE_TYPE;description"二层聚合口";}identityIF_RAGG{baseINTERFACE_TYPE;description"三层聚合口";for

}identityIF_LOOPBACK{baseINTERFACE_TYPE;description"Avirtualinterfacedesignatedasaloopbackusedvariousmanagementandoperationstasks.";}up.";

identityIF_NULL{baseINTERFACE_TYPE;description"Asoftware-basedlogicalinterface,whichisalways}VLAN.

identityIF_VLAN{baseINTERFACE_TYPE;description"AlogicalinterfaceusedforroutingservicesonaSuchinterfacesarealsoknownasswitchvirtualinterfaces(IRBs).";

(SVI)orintegratedroutingandbridginginterfaces36数字孪生网络模型规范 2022}identityIF_SONET{baseINTERFACE_TYPE;description"SONET/SDHinterface";}identityIF_TUNNEL_GRE4{baseINTERFACE_TYPE;description"AGREtunneloverIPv4transport.";}identityIF_TUNNEL_GRE6{baseINTERFACE_TYPE;description"AGREtunneloverIPv6transport.";}}(2)net-software-if-phy.yangmodulenet-software-if-phy{yang-version1.1;namespace"urn:device:params:xml:ns:yang:net-software-if-phy";prefix"software-if-phy";importnet-software-if-common{prefixsoftware-if-common;}organization"OpenDataCenterCommittee";contact"Tel-mail:odcc@";description"ThismodulecontainstheYANGdefinitionfornetworksoftwarephysicalportfeature.";revision"2022-03-29"{description"Initialrevision";}groupingif-phy-top{description"Top-levelgroupingforphysicalinterfacefeature";containerif-phy{listphysical-interface{keyif-type;37数字孪生网络模型规范 2022usessoftware-if-common:if-common-top;leafsupport-fec{typeboolean;description"supportfec";}leaf-listsupport-breakout-speed{typeenumeration{enumIF_SPEED_40G;enumIF_SPEED_100G;}description"thesupportedspeedlistthebreakoutfunctionissupported";}leafsupport-l2-l3-switchtypeboolean;description"whethertosupportL2andL3portswitching";}}/*TODO:expandsub-features*/}}}(3)net-software-if-common.yangmodulenet-software-if-common{yang-version1.1;namespace"urn:device:params:xml:ns:yang:net-software-if-common";prefix"software-if-common";importnet-software-if-types{prefixsoftware-if-types;}organization"OpenDataCenterCommittee";contact"Tel-mail:odcc@";description"ThismodulecontainstheYANGdefinitionfornetworksoftwareinterfacecommonstructure.";revision"2022-04-22"{description"Initialrevision";}38数字孪生网络模型规范 2022groupingif-common-top{description"Top-levelgroupingforcommoninterfacestruture";

leafif-type{typeidentityref{basesoftware-if-types:INTERFACE_TYPE;}description"interfacetypeswhichcanbesupported";}leafsupport-description{typeboolean;description"Issupportconfiguredescription";}leafsupport-sub-if{typeboolean;description"sub-interfacetypewhichcanbesupported";}leafsupport-admin-shutdown{typeboolean;description"supportshutdowncommand";}leafsupport-jumbo-frame{when"../if-type='software-if-types:IF_ETHERNET'or../if-type='software-if-types:IF_BAGG'or../if-type='software-if-types:IF_RAGG'"description"OnlyL2/L3Ethernet&BAGG&RAGGsupportjumboframe";}typeboolean;description"Issupportjumboframe";}}}(4)net-software-if-logic.yangmodulenet-software-if-logic{yang-version1.1;namespace"urn:device:params:xml:ns:yang:net-software-if-logic";

prefix"software-if-logic";importnet-software-common{prefixsoftware-common;}39数字孪生网络模型规范 2022importnet-software-if-common{prefixsoftware-if-common;}organization"OpenDataCenterCommittee";contact"Tel-mail:odcc@";description"ThismodulecontainstheYANGdefinitionfornetworksoftwarelogicinterfacefeature.";revision"2022-03-29"{description"Initialrevision";}groupingif-logic-top{description"Top-levelgroupingforinterfacefeature";containerif-logic{listlogic-interfacekeyif-type;usessoftware-if-common:if-common-top;usessoftware-common:spec-description;}}}}(5)net-software-if-interface.yangmodulenet-software-interface{yang-version1.1;namespace"urn:device:params:xml:ns:yang:net-software-interface";prefix"software-interface";importnet-software-if-logic{prefixsoftware-if-logic;}importnet-software-if-phy{prefixsoftware-if-phy;}organization"OpenDataCenterCommittee";contact"Tel-mail:odcc@";description40数字孪生网络模型规范 2022"ThismodulecontainstheYANGdefinitionfornetworksoftwareinterfacefeature.";revision"2022-03-29"{description"Initialrevision";}groupinginterface-top{description"Top-levelgroupingforinterfacecontainerinterface{usessoftware-if-logic:if-logic-top;usessoftware-if-phy:if-phy-top;}}}二层能力模型net-software-if-vlan.yangmodulenet-software-vlan{yang-version1.1;namespace"urn:device:params:xml:ns:yang:net-software-vlan";prefix"software-vlan";importnet-software-common{prefixsoftware-common;}organization"OpenDataCenterCommittee";contact"Tel-mail:odcc@";description"ThismodulecontainstheYANGdefinitionforsoftwareVLANfeature.";revision"2022-03-23"description"Initialrevision";}groupingvlan-description{leafsupport-description{typeboolean;description"descriptionability";}41数字孪生网络模型规范 2022}groupingport-vlan-description{containerport-vlan{leaf-listsupport-link-types{typeenumeration{enumTRUNK;enumACCESS;enumHYBIRD;enumDOT1Q_TUNNEL;}}}}groupingvlan-top{description"Top-levelgroupingforVLANfeature";containervlan{containerstand-specs{description"standardprotocol";containerbasic-vlan{usessoftware-common:spec-description;usesvlan-description;leafsupport-configure-name{typeboolean;description"configurenameablity";}leafsupport-transparent-vlan{typeboolean;}containerreserved-vlan{description"reservedvlanspecification";usessoftware-common:spec-description;leafsupport-modify{typeboolean;description"modifyreservedvlanability";}leafreboot-after-modify{42数字孪生网络模型规范vlan";

2022when"../support-modify='true'";typeboolean;description"rebootaftermodifyreserved}}}containerqinq{leafsupport-basic-qinq{typeboolean;description"basicQinQablity";}leafsupport-selective-qinq{typeboolean;description"selectiveQinQablity";}leafsupport-configure-tpid{typeboolean;description"modifyTPIDability";}}}containerapplications{leaf-listapplicationtypeenumeration{enumMAC_VLAN;enumVOICE_VLAN;enumSUPER_VLAN;enumPROTO_VLAN;enumPORT_VLAN;enumMUX_VLAN;}description"scenarioslist";}containerdescription{/*scenariosdescription*/usesport-vlan-description;}43数字孪生网络模型规范 2022/*TODO:expandsub-features*/}}}}net-software-if-stp.yangmodulenet-software-stp{yang-version1.1;namespace"urn:device:params:xml:ns:yang:net-software-stp";prefix"software-stp";importnet-software-if-types{prefixsoftware-if-types;}organization"OpenDataCenterCommittee";contact"Tel-mail:odcc@";description"ThismodulecontainstheYANGdefinitionforsoftwareSTPfeature.";revision"2022-04-13"description"Initialrevision";}identitySTP_TYPE{description"STP}identitySTP{base}identityRSTP{basedescription"802.1D";44数字孪生网络模型规范 2022}identityMSTP{baseSTP_TYPE;description"802.1Q";}groupingstp-top{description"Top-levelgroupingforSTPfeature";containerstp{leaf-liststp-type{typeidentityrefbaseSTP_TYPE;}}leaf-listprotect-typetypeenumeration{enumPROTECT_BPDU;enumPROTECT_ROOT;enumPROTECT_LOOP;enumPROTECT_TC;}description"supported

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论