×÷Õß:ÑîÓê
¡°MTUµÄÖµÉèÖöàÉÙºÏÊÊÄØ?ÏÖÔÚ×î¼Ñʵ¼ùÊÇÉèÖõ½9000¡£¡±
¡°ÆäʵOpenFlowÖ»ÊÇÒ»¸ö¸ÅÄî,´ÓÕ⼸ÄêSDNµÄ·¢Õ¹À´¿´,Ëü²¢Ã»ÓгÉΪһ¸öÊÂʵµÄ±ê×¼¡£¡±
¡°´ó¹æÄ£ÔÆƽ̨¶ÔSDNµÄÒªÇó,µÚÒ»ÊÇÍøÂç»ù´¡¼Ü¹¹Òª¿ÉÀ©Õ¹,µÚ¶þÊÇ¿ØÖÆÆ÷¿ÉÀ©Õ¹,µÚÈýÊÇÊý¾ÝƽÃæÎÞ¼¯ÖÐʽµ¥µã,µÚËÄÊǿ缯ȺµÄÀ©Õ¹ÍøÂç¡£¡±
¡°ÔÚ»ù´¡¼Ü¹¹ÉÏ,Èç¹ûÓÃTungsten Fabric,Ö»ÒªÊÇÓÃÓÚÉú²ú»·¾³µÄ»°,Ñ¡ÔñIP CLOS¼Ü¹¹¾ÍÐÐ,û±ØÒªÔÙÈ¥ÕÛÌÚFabricµÈ¶þ²ã¼Ü¹¹¡£¡±
¡°Tungsten FabricµÄ±¾ÖÊÊÇ»ùÓÚMPLS VPNµÄSDN¡£¡±
¡°¿ç¼¯ÈºµÄ»¥Áª,»òÕ߽жàÔÆ»¥Áª,Ö÷ÒªÓÐÁ½ÖÖģʽ:»ùÓÚ¿ØÖÆÆ÷Ö®¼äµÄ»¥Áª,»ùÓÚCloud GatewayÖ®¼äµÄ»¥Áª¡£¡±
±¾ÎÄÕûÀí×ÔTFÖÐÎÄÉçÇø¼¼Êõ´ú±íÑîÓêÔÚTFÖÐÎÄÉçÇø¡°2020µÚÒ»´ÎMeetup¡±ÉϵÄÑݽ²,·ÖÏíTungsten
Fabric¶Ô´ó¹æÄ£ÔÆƽ̨µÄÖ§³Ö¡£±¾ÎÄÒѾÖ÷°ì·½ºÍÑݽ²ÕßÉóÔÄÊÚȨ·¢²¼¡£
ÔÚTFÖÐÎÄÉçÇø1ÔÂ7Èյġ°2020µÚÒ»´ÎMeetup¡±»î¶¯ÉÏ,À´×ÔTungsten Fabric¼¼ÊõÑз¢ºÍÒ»ÏßʹÓÃÕß¡¢¹Ø×¢¶àÔÆ»¥ÁªµÄ´ÓÒµÕß¡¢¿ªÔ´SDNµÄ°®ºÃÕßÃÇ»¥ÏàÇд衢֧ÕÐ,ÏÖ³¡Æø·ÕÈÈÁÒ,¾«²ÊÄÚÈݲ»¶Ï¡£Tungsten
FabricÔÚÖйúµÄ¹ã·ºÓ¦ÓÃÕýÔÚÔ½À´Ô½ÕæÇеØ×ßÀ´¡£
±¾´ÎÑݽ²¼°TFÖÐÎÄÉçÇø¡°2020µÚÒ»´ÎMeetup¡±»î¶¯×ÊÁÏ,ÇëÔÚ¡°TFÖÐÎÄÉçÇø¡±¹«Öںźǫ́µã»÷¡°»áÒé»î¶¯-Meetup¡±ÁìÈ¡¡£
½ñÌìµÄ·ÖÏíÆ«¼¼ÊõһЩ,Ê×ÏÈÎÒÃÇÀ´¿´SDNµÄ±¾ÖÊ,È»ºó´ÓTungsten Fabric¼Ü¹¹ÉϽâÎöΪʲô±ÈOVS¸üºÃ,ΪʲôÄÜÖ§³Å¸ü´óµÄ³¡¾°¡£
ÏÈÀ´¿´ÔƶÔÍøÂçµÄÒªÇó¡£Ê×ÏÈÊÇ×⻧¸ôÀë,IaaS¾ÍÊǶà×⻧,¶ÔÓÚµØÖ·ÖØÓõÄÒªÇó,ÒÔVLANµÄ´«Í³·½Ê½Ò²ÊÇ¿ÉÒÔʵÏֵġ£ÁíÍâ,´«Í³VXLANµÄÐÒé»òOVSµÄÐÒé,Ö»Ìṩ¶þ²ã¸ôÀëµÄÄÜÁ¦,ûÓÐÈý²ã¸ôÀëµÄÄÜÁ¦,Ö»ÒªÄãµÄ»úÆ÷°óµ½ÍâÍøIP,»òÕß°óµ½¹«¹²µÄ·ÓɲãÃæÉÏ,Èý²ãÊÇ¿ÉÒÔ»¥Í¨µÄ,ËùÒÔ˵ÔÚ×⻧¸ôÀëµÄ²ãÃæ,Ò²ÓÐÈý²ã¸ôÀëµÄÐèÇó¡£
Æä´Î,ÔÆÐèÒªÍøÂçÖ§³ÖÐéÄâ»ú¿ç»ú¹ñµÄǨÒÆ¡£VXLANµÄ»°»¹Òª¿çÊý¾ÝÖÐÐÄ´ó¶þ²ã,²»ÊÇ˵²»¿ÉÒÔʵÏÖ,µ«³ýÁËÍøÂçÒªÇó,»¹Óд洢µÄÒªÇó,±È½ÏÄÑ¡£ÐéÄâ»ú¿ç»ú¹ñµÄǨÒÆ,×îÄѵÄÊÇʲô?´«Í³ÍøÂç¼Ü¹¹,¾ÍÊǽÓÈë-»ã¾Û-ºËÐÄ,·ÓÉÆ÷ÒÔ϶¼ÊǶþ²ã¼Ü¹¹,»úÆ÷¿ÉÒÔÔÚ²»Í¬»ú¼ÜÉÏǨÒÆ,µ«Ò»¸öÊý¾ÝÖÐÐÄ,ÔÆ×ã¹»´óµÄʱºò,¶þ²ã»ù´¡ÍøÂçÊÇÖ§³Å²»ÁËÕû¸öÔƵÄ,²»Í¬»ú¼ÜÔÚ²»Í¬Èý²ãÀïÃæ,ÕâʱÐéÄâ»ú×öǨÒƾÍÒªÒªÇóIPµØÖ·²»Äܱ䡣
ÁíÍâ,»¹ÓÐÍøÂ繦ÄܺͷþÎñµÄÒªÇó¡£ÔÚÔÆÉÏÃ涼Êǹ²ÏíµÄ×ÊÔ´³Ø,Èç¹ûÒÔ¸ºÔؾùºâΪÀý,½«Ò»¸öÐÔÄÜÇ¿´óµÄÓ²¼þ¸ºÔؾùºâÐéÄ⻯¸ø¶à¸ö×⻧ʹÓÃ,»¹ÊÇÇл»³ÉСµÄ¸ºÔؾùºâÐéÄâ»úʵÀý¸ø²»Í¬×⻧ʹÓÃ?ÕâÀï¾ÍÌá³öÍøÂçÐéÄ⻯ºÍÍøÂ繦ÄÜÐéÄ⻯µÄÐèÇó,À´Ö§³ÅIaaSµÄÔËÐС£
ÍøÂçÐéÄ⻯,Ö÷ÒªÓ¦ÓõÄÊÇOverlayµÄ¼¼Êõ,ÊÇSDNÓõ½µÄÆäÖÐÒ»¸ö¼¼Êõ,ÓõıȽ϶ࡢ±È½Ï±ê×¼µÄ¼¼Êõ,°üÀ¨VXLAN¡¢GRE¡¢STT¡¢GENEVE,ÒÔ¼°Tungsten
FabricÓõ½µÄMPLSoverUDPºÍMPLSoverGRE,Ö÷ÒªµÄ·½Ê½,ÊǰѶþ²ãµÄÖ¡ÔÚvTEPÉϽøÐÐÈý²ã·â×°,ͨ¹ýVXLANËíµÀ´«Êäµ½¶Ô¶Ë¡£
ÕâÑù×öµÄºÃ´¦ÊÇ,Ôö¼ÓÁË×⻧µÄÊýÁ¿,´«Í³VLANÊÇ4096,Èç¹ûVXLAN¾ÍÊÇ2µÄ24´Î·½;Æä´Îµ×²ã´«Êä»ùÓÚIPÍøÂç,À©Õ¹ÐÔÔ¶´óÓÚ¶þ²ãÍøÂç,ʹµÃÍøÂçÄÜÀ©Õ¹,ÐéÄâ»úÔÚ²»Í¬ÎïÀíÍø¶ÎÉÏǨÒÆ¡£µ«Í¬ÑùÒ²´øÀ´Ò»Ð©¹¤×÷,ÈçºÎÈÃÁ½±ßµÄÉ豸½¨Á¢Í¨ÐÅ?µÚÒ»½¨Á¢VXLANËíµÀ,ÕâÊÇSDN¿ØÖÆÆ÷Òª×öµÄÊÂ,µÚ¶þÊǽ»»»Á½±ßµÄMACµØÖ·ÐÅÏ¢¡£
TFÖÐÎÄÉçÇø3ÔÂMeetup»î¶¯,½«¾Û½¹Tungsten FabricÓëK8sµÄ¼¯³É,ÓÉÖØÁ¿¼¶¼Î±ö·ÖÏíTungsten
FabricÓëK8sµÄ²¿ÊðºÍʵ¼ù,ÏêϸÑÝʾ²Ù×÷¹ý³Ì,²¢½â´ð¹ØÓÚTungsten
FabricºÍK8sµÄÒ»ÇÐÎÊÌâ¡£¹Ø×¢¡°TFÖÐÎÄÉçÇø¡±¹«ÖÚºÅ,ºǫ́µã»÷¡°»áÒé»î¶¯-Meetup¡±ÁìÈ¡¡£
ÓÐÁ½¸öVM,ÔÚÁ½¸ö²»Í¬µÄÖ÷»úÉÏ,¾ÍÊÇͨ¹ýOverlayÀ´½â¾ö¶þ²ãͨÐÅÎÊÌâµÄ¡£±ÈÈçESX1ÒªºÍESX2ͨÐÅ,pingµÄʱºòÊ×ÏÈ·¢ARPÇëÇó,ÄǶÔÓ¦µÄMACµØÖ·ÊǶàÉÙ?¶ÔÓÚVXLANÀ´Ëµ¾ÍÒªÓÐÒ»ÕÅת·¢±í,MAC2ÐèҪͨ¹ýVTEP2µÄIP,È¥×öÒ»¸ö·â°ü,ÔÙ´«Êäµ½VTEP2,½â·â×°ºó,ÔÙ´«Êäµ½ÏàÓ¦µÄ»úÆ÷ÀïÈ¥¡£Ôõô½¨Á¢Õâ¸öת·¢±í?¾ÍÊÇSDNÐèҪȥ×öµÄÊÂÇé¡£
Ò»ÖÖÊÇ×Ôѧϰ,Ö»ÒªVM1·¢ÁËÒ»¸öARPÇëÇó,µ½´ïvTEPÍø¹Ø,Ëü¾Í»áÈ¥ºé·ºÇëÇó,¹ã²¥µ½ºÍËü½¨Á¢ËíµÀµÄvTEP½ÚµãÉÏÈ¥,¿´Ë·´À¡ARP
reply,¾ÍÖªµÀ¶Ô¶ËµÄIPµØÖ·,¿ÉÒÔ½¨Á¢Ò»¸öת·¢±í¡£µ«ÕâÑù»áÓкܶàÏûºÄ,ARPµØÖ·Ò²ÓÐÀÏ»¯µÄ¹ý³Ì,Ò»µ©ÀÏ»¯,¾ÍÐèÒªÖØÐÂȥѧ,Ö±¹ÛÌåÑéÊÇping°üʱ¼ä»áºÜ³¤¡£Èç¹ûÊÇ´ó¹æÄ£µÄÍøÂç,Ƶ·±ºé·º,»á¶ÔÍøÂç¿É¿¿ÐÔ´øÀ´ºÜ´óµÄÌôÕ½¡£
SDN´ó²¿·ÖÇé¿öÏÂÊǺÍÔƹÜƽ̨×ö½áºÏ,ÖªµÀÔÚÕâ¸öÐéÄ⻯·þÎñÆ÷ÉÏ,ÓÐÄÄЩÐéÄâ»ú,ÌáÇ°°ÑMACµØÖ·±í»òת·¢±íÏ·¢µ½vTEPÉ豸ÉÏ,Õâ¾ÍÊÇSDN¿ØÖÆƽÃæÒª×öµÄÊÂÇé¡£
ÔÚOpen vSwitchÕâ¸ö·½°¸ÀïÃæ,¾ÍÊÇͨ¹ýÊý¾Ý¿âºÍRabbitMQ,ȥϷ¢Ò»¸öOVSDBµÄÃüÁî,½¨Á¢ÏàÓ¦µÄÁ÷±í,ÈÃÐéÄâ»úÖªµÀÒªÍùÄĶù×ß¡£Tungsten
FabricÒ²ÓÐÏàÓ¦µÄ»úÖÆ,ºóÃæ»á½éÉÜ¡£
Êý¾ÝƽÃæµÄ×÷ÓÃ,¾ÍÊǸù¾Ýת·¢±í,¶Ô¶þ²ãµÄÖ¡½øÐÐת·¢,ÁíÍâ½øÐзâ°üºÍ½â°ü¡£ÕâÀïÌáÒ»ÏÂMTU,ÕâÊÇÕâ¸ö¶þ²ãµÄÖµ,Ö¡µÄtransfer
unit,ΪʲôҪÉèÖúܴó?Ê×ÏÈVXLANÐÒé»áÔö¼ÓһЩHdr,UTPµÄHdr,VXLANµÄHdr,·â°üµÄʱºòÈç¹û²»×ö´¦ÀíµÄ»°»á³¬¹ý1500,Íø¿¨»á²»·¢Õâ¸öÖ¡¡£ÔçÆÚ×öOpenStack¾³£»áÓöµ½trouble
shootingµÄMTUÎÊÌâ,ºóÀ´½â¾ö·½°¸ÊÇͨ¹ýDHCPµÄAgenter,ÉèÖÃÁËÒ»¸ö²ÎÊý,Èç¹ûÍø¿¨MTUÊÇ1500,¾ÍĬÈÏΪ14XX,×Ô¶¯½µµÍ,ÕâÑùÐéÄâ»úµÄÊý¾ÝÖ¡²ÅÄÜͨ¹ý¶þ²ãÍø¿¨¡£ÄÇôMTUµÄÖµÉèÖöàÉÙºÏÊÊÄØ?ÏÖÔÚ×î¼Ñʵ¼ùÊÇÉèÖõ½9000¡£ÔÚvTEPÕâÒ»¿é¾ÍÊÇ·â°üºÍת·¢,¸ù¾Ýʵ¼Ê²âÊÔ,Èç¹ûÔö¼ÓMTUÖµ,¶ÔÍÌÍÂÁ¿ÓкܴóµÄÌá¸ß¡£
¸Õ²Å˵ÁËSDN×öµÄÊÂÇé,¿ØÖÆÏ·¢×ª·¢±íºÍ´«Êä,½ÓÏÂÀ´ËµÒ»ÏÂSDNµÄ·ÖÀà¡£°´Á÷ÅÉÀ´Çø·Ö,SDN¿É·ÖΪÈí¼þºÍÓ²¼þ,Çø±ð¾ÍÊÇvTEPÊÇÔÚvRouterÉÏ,»¹ÊÇÔÚ½»»»»úµÄÓ²¼þת·¢ÉÏ,¿´½â·â°üÔÚÄÄÀï¡£Ó²¼þÒ»°ã¶¼ÊÇ˽ÓÐÐÒé,ÏñCiscoÓõľÍÊÇOPFlex¡£Èí¼þÒ²Óкܶ಻ͬµÄÏîÄ¿,ÆäÖÐTungsten
FabricÊÇ×î²úÆ·»¯µÄÒ»¸ö¡£
°´ÕÕ¿ØÖÆÆ÷·ÖÀà,Óм¯ÖÐʽºÍ·Ö²¼Ê½¡£¼¯ÖÐʽµÄ¿ØÖÆÆ÷ÓÐOpenFlow¡¢OVSDB,ÒÔ¼°Tungsten
FabricʹÓÃXMPP(Ò»¸öÁÄÌìµÄÐÒé)¡£ÎÒÃÇ¿ÉÒÔ°ÑNeutronµÄOpen
vSwitchÀí½âΪOVSDBÐÒé,NeutronÊÇͨ¹ýRabbitMQ°ÑÐÅÁîÏ·¢µ½¾ßÌåµÄ¼ÆËã½Úµã,¼ÆËã½ÚµãµÄOVS
Agentͨ¹ýOVSDBµÄÃüÁî,°ÑÏàÓ¦µÄÁ÷±íÔö¼Óµ½OVSDB½»»»»ú¡£
·Ö²¼Ê½µÄ¿ØÖÆÆ÷,±ÈÈçEVPN-VXLAN,¾ÍÊÇʹÓÃÁËMP-BGP¡£
´ó¼Ò¾õµÃÄÄÖÖÐÎʽµÄ¿ØÖÆÆ÷»á¸üºÃÒ»µãÄØ?Ä¿Ç°ÓÃOpenDaylightµÄÏîÄ¿ÓÐÄÄЩ?»ªÎª,»ªÈýµÈ¶¼ÔÚÓÃ,Æä¿ØÖÆÆ÷µÄSDN¼Ü¹¹¾ÍÊDzÎÕÕOpenFlowÀ´×öµÄ¡£ÓÐЩ³§ÉÌ×Ô¼ºÓÐÑз¢ÄÜÁ¦,»ùÓÚ×ÔÉíµÄÓ²¼þÉ豸,¿ÉÒÔ¿ª·¢Ò»¸ö±È½ÏÍêÉƵIJúÆ·¡£µ«ÔÚ¿ªÔ´ÉçÇø,ºÜÉÙ¿´µ½Ò»¸ö³É¹¦µÄOpenDaylightÏîÄ¿,Ö»ÊÇÌṩÁËÒ»¸ö¿ò¼ÜºÍһЩ×é¼þ,²»Äܺܿì»ùÓÚ¿ªÔ´ÏîÄ¿runÆðÀ´¡£ÆäʵOpenFlowÖ»ÊÇÒ»¸ö¸ÅÄî,´ÓÕ⼸ÄêSDNµÄ·¢Õ¹À´¿´,Ëü²¢Ã»ÓгÉΪһ¸öÊÂʵµÄ±ê×¼¡£
·´¶øÊÇOVSDBÆðÀ´ÁË,Ó¦ÓÃÔÚNeutronÈí¼þµÄ¿ØÖÆ,»¹Óн»»»»úµÄ¿ØÖÆÉÏ¡£±ÈÈçTungsten
FabricÔçÆÚµÄBMSʵÏÖ,ÐéÄâ»úÒªºÍÂã»úͨÐÅ,Âã»úͨ¹ýVLAN
TAG,Éϵ½TOR½»»»»ú,ÔÙͨ¹ýVLANµ½VXLANµÄת»»,µ½´ïÐéÄâÍøÂç¡£ÆäÖÐVLANµ½VXLANµÄת»»,¾ÍÊÇͨ¹ýOVSDBÐÒéÏ·¢µÄ¡£ÄãµÄ½»»»»ú,ÀíÂÛÉÏÖ»ÒªÖ§³ÖOVSDBÐÒé,¾Í¿ÉÒÔ×öBMS³¡¾°¡£
ÎÒ×Ô¼º¸üÇãÏòÓÚÕâÖÖ·Ö²¼Ê½µÄ¿ØÖÆÆ÷¡£ÒòΪ¼¯ÖÐʽµÄÓÀÔ¶»áÓÐÆ¿¾±,ÎÞÂÛÊÇÈí¼þÆ¿¾±,»¹ÊÇÐÔÄÜÆ¿¾±¡£¶øEVPN-VXLANµÄºËÐÄÐÒéÊÇMP-BGP,BGPµÄÀ©Õ¹ÐÔÓжà´ó?¿´¿´ÏÖÔÚInternet¹Ç¸ÉÍø,ÅܵľÍÊÇBGPÐÒé¡£
MP-BGPµÄÐÒé,ͨ¹ý¿ØÖÆÆ÷Ï·¢Á÷±íÐÅÏ¢,ÔÙͨ¹ýBGPÐÒéÈ¥½»»¥,ʹÓõÄʱºòÖ»ÒªÕë¶ÔÄãµÄÏàÓ¦¼Ü¹¹,È¥×öÏàÓ¦BGPÐÒéµÄÀ©Õ¹ÐÔÉè¼Æ¾Í¿ÉÒÔ¡£
Õë¶ÔTungsten FabricÀ´Ëµ,ÆäʵÊǼ¯ÖÐʽºÍ·Ö²¼Ê½Á½ÖÖÁ÷ÅɵÄÈÚºÏ,¼ÈÓõ½¼¯ÖÐʽµÄ¼Ü¹¹,ÔÚ¶ÔÍâµÄÁ¬½ÓÉÏ,ÓÖ²ÉÓÃÁË·Ö²¼Ê½¿ØÖÆÆ÷µÄ¼¼Êõ¡£
×ܽá´ó¹æÄ£ÔÆƽ̨¶ÔSDNµÄÒªÇó,µÚÒ»ÊÇÍøÂç»ù´¡¼Ü¹¹Òª¿ÉÀ©Õ¹¡£Èç¹û²ÉÓöþ²ã¼Ü¹¹,Æ¿¾±¾ÍÊÇÔÚ»ù´¡¼Ü¹¹ÉÏ,ÊÜÏÞÓÚ½»»»»úµÄ¶Ë¿ÚÊý,¶þ²ã½»»»»ú²ÉÓÃÉú³ÉÊ÷ÐÒé,¶ÔÓÚ´ó¹æÄ£ÍøÂçƽ̨,Èç¹ûÔËάˮƽ½Ï²î,½Ó³öÒ»¸ö»·Â·³öÀ´,¾ÍºÜΣÏÕ¡£
µÚ¶þ,¿ØÖÆÆ÷ÊÇ¿ÉÀ©Õ¹µÄ¡£ÎÞÂÛ¼¯ÖÐʽ»¹ÊÇ·Ö²¼Ê½,Ôڼܹ¹ÉÏÒ»¶¨ÊÇ¿ÉÀ©Õ¹µÄ,ÖÁÓÚÄÜÖ§³Ö¶à´óµÄÁ¿,¾ÍÊÇ´úÂëʵÏÖµÄÎÊÌâÁË¡£
µÚÈý,Êý¾ÝƽÃæÎÞ¼¯ÖÐʽµ¥µã¡£Ì¸µ½SDNµÄʵ¼ÊÓ¦ÓÃ,ÔËάÊÇÒ»¸ö±È½Ï´óµÄÌôÕ½,ÎÞÂÛÊÇ×ö¿ª·¢»¹ÊÇ×öÔËά³öÉíµÄÈË,×îÖØÒªµÄÊÇÀí½âÐéÄâ»úÖ®¼ä,ÐéÄâ»úµ½ÍâÍøÖ®¼ä,Êý¾ÝÁ÷Á¿ÊÇÔõÑùµÄ?Ó¦¸Ãͨ¹ýʲôÃüÁîÈ¥¿´ÕâЩÁ÷Á¿,È¥trouble
shooting,¾ÍÏñÒÔÇ°´«Í³ÍøÂçÔËάÔõôȥץ°üÒ»Ñù¡£¶ÔÓÚÀ©Õ¹ÐÔÀ´Ëµ,ҪʵÏÖ´«Í³ÍøÂçµÄSNAT¡¢floating
IPµÈ,ÿ¸öÏîÄ¿¶¼Óв»Í¬µÄʵÏÖ·½Ê½,ʵÏÖ¹ý³ÌÖÐûÓе¥µãµÄ»°,Ôڼܹ¹ÉϾÍÊÇ¿ÉÒÔÀ©Õ¹µÄ¡£
µÚËÄ,¿ç¼¯ÈºµÄÀ©Õ¹ÍøÂç¡£¼Ü¹¹ÉÏÎÞÂÛÔõÑùÀ©Õ¹,×ÜÊÇÓм«ÏÞµÄ,¶ÔÓÚÒ»¸öµ¥¼¯ÈºÀ´Ëµ,×ܻᵽ´ïÒ»¸öÆ¿¾±¡£Èç¹ûÒª½¨Ò»¸ö¸ü´óµÄ¼¯Èº,¿ÉÒÔºáÏòÀ©Õ¹¶à¸ö¼¯Èº³öÀ´,ÐγÉÒ»¸ö´óµÄ×ÊÔ´³Ø¡£ÄÇôÃæÁÙµÄÎÊÌâÊÇ,ÍøÂçÊÇ·ñÐèÒª»¥Í¨¡£Èç¹û²¿ÊðÒ»¸ö¸ß¿ÉÓÃÒµÎñ,¿ç¼¯ÈºµÄÇé¿öÈçºÎ×ö»¥Í¨,Ö÷Á÷µÄһЩ¸ß¿ÉÓÃ×é¼þ,ÐèÒª¿çÁ½¸ö¼¯Èº¶þ²ã»¥Í¨,¶¼ÐèÒªSDNÈ¥Ö§³ÖÕâÑùµÄÐèÇó¡£
ÔÚ»ù´¡¼Ü¹¹ÉÏ,Èç¹ûÓÃTungsten Fabric,Ö»ÒªÊÇÓÃÓÚÉú²ú»·¾³µÄ»°,Ñ¡ÔñIP CLOS¼Ü¹¹¾ÍÐÐ,û±ØÒªÔÙÈ¥ÕÛÌÚFabricµÈ¶þ²ã¼Ü¹¹¡£IP
CLOS¿ÉÒÔ´øÀ´×ã¹»µÄÀ©Õ¹ÐԺ͸ßÐÔÄÜ,°üÀ¨Ã»Óй©Ó¦ÉÌËø¶¨,½¨ÍêÒÔºó»ù±¾²»ÐèÒªÔÙ¶¯¡£
Leaf¾ÍÊǼܶ¥Ê½½»»»»ú,ÏÂÃæÊÇ×ÓÍø,²»Í¬»ú¼ÜÓò»Í¬×ÓÍø,Éϲãͨ¹ýÈý²ãÍø¹Ø·ÓÉ×öͨÐÅ,×îÖ÷ÒªµÄ¾ÍÊÇLeaf SpineÖ®¼äÈý²ãÔõô½»»¥¡£Õ°²©ÍøÂçÓиöÎĵµ½éÉÜIP
CLOSµÄ°×ƤÊé,¶ÔOSPF¡¢ISIS¡¢BGP½øÐÐÁË¿ØÖÆƽÃæÉϵĶԱÈ,×î¼Ñ½¨ÒéÊÇÓÃeBGPÀ´×ö½»»¥¡£
Tungsten FabricµÄ±¾ÖÊÊÇ»ùÓÚMPLS VPNµÄSDN¡£ÔÀ´µÄVPNÊǽâ¾ö¶à¸ösiteÖ®¼äµÄ»¥Áª,¿ØÖÆƽÃæÊÇBGPÐÒé¡£µ½ÁËÊý¾ÝÖÐÐÄÀïÃæ,ÔÆÖ®¼äµÄ»¥Áª,Ò»¸öÎïÀí»ú¿ÉÒÔ¿´×öÒ»¸ösite,²»Í¬ÎïÀí»úÖ®¼ä½èÖúVPN½¨Á¢²»Í¬µÄËíµÀÀ´´òͨ,Õâ¾ÍÊÇTungsten
FabricµÄ±¾ÖÊ¡£²»Í¬Ö®´¦ÔÚÓÚ¿ØÖÆƽÃæ,Tungsten FabricÓõÄÊǼ¯ÖÐʽµÄ¿ØÖÆÆ÷²¢Í¨¹ýXMPPÐÒé¿ØÖÆvRouterµÄ·ÓÉ±í¡£
¼òµ¥¿´Ò»ÏÂTungsten FabricµÄ¹¦Äܼܹ¹,ÔÚ¶àÔÆÖ§³ÖÉÏ,°üÀ¨VMware¡¢OpenStackÈÝÆ÷¡¢BMS;ÍøÂ繦ÄÜÉÏ,¶þ²ãÍøÂç¡¢Èý²ãÍøÂç¡¢DHCP¡¢DNS¡¢QoS¡¢·À»ðǽ¡¢LBµÈ¶¼ÊÇÖ§³ÖµÄ¡£
ÔÚ²¿ÊðµÄʱºò,¿ØÖÆÆ÷Ö÷Òª·ÖΪÁ½ÖÖ½Úµã,Ò»ÖÖÊÇAnalytics
Cluster·ÖÎö½Úµã,Ö÷Òª×öÁ÷µÄ¿ÉÊÓ»¯¡£ÁíÍâÒ»ÖÖController½ÚµãÓÃÀ´¿ØÖÆÍøÂç,·ÖΪConfigurationºÍControl
Node,Ç°ÕßÌṩAPI,¶Ô½ÓNeutronµÈÔƹÜƽ̨,APIͨ¹ý´´½¨Ò»¸öpod,ÔÚConfigurationÉϼǼÊý¾Ý¿â,ת»»³ÉÏàÓ¦µÄIF-MAP,¿ØÖÆÆ÷ͨ¹ýXMPPÃüÁîÔÚvRouterÉÏ´´½¨ÏàÓ¦µÄ½Ó¿Ú,ÔٰѽӿÚÐÅÏ¢´«¸ø²»Í¬µÄvRouter»òÍⲿÍø¹Ø¼°Ó²¼þÉ豸,¿ØÖÆÆ÷ºËÐÄÐÒéÊÇBGPÐÒé¡£
¿ØÖÆÆ÷ÔÚÕû¸öTungsten FabricÀï¾ÍÊÇÒ»¸örouter reflector,°ÑËùÓеĶþ²ã½Ó¿Ú¡¢MAC½Ó¿ÚÐÅÏ¢,Èý²ã·ÓÉÐÅϢȫ²¿´æÔÚÕâÀï,·Ö·¢µ½²»Í¬µÄvRouterÉÏÃæ¡£¶ÔÓÚÔÆÄÚµÄvRouter,ÓÃXMPPÍÆËÍ,¶ÔÓÚÔÆÍâµÄGatewayµÈ,ͨ¹ýBGPÍÆËÍ¡£
ÆäÖÐ,NETCONFÐÒé²»ÊÇÓÃÀ´ÍÆËÍ·ÓÉÐÅÏ¢µÄ,Ö÷ÒªÓÃÓÚºÍÍøÂçÓ²¼þÉ豸µÄһЩÅäÖÃÏ·¢¡£±ÈÈçTungsten
FabricÖÐÔö¼ÓÒ»¸öBMS·þÎñÆ÷½ÓÈëµ½Tungsten Fabric¹ÜÀíµÄÐéÄâÍøÂç,Tungsten FabricÖеÄDevice Manager»áͨ¹ýNETCONF½«VLAN½Ó¿ÚµÄÅäÖúÍÏ·¢µ½TOR½»»»»ú,ͨ¹ýNETCONF½¨Á¢½Ó¿Ú¡£È»ºóTungsten
Fabric¿ØÖÆÆ÷ÔÙͨ¹ýOVSDBÐÒé»òEVPN-VXLANÐÒéÈ¥ÅäÖÃÏàÓ¦µÄVLAN-VXLANµÄÇŽÓÍø¹Ø¡£Èç¹ûÐèÒª°ÑÐéÄâÍøÂçÀ©Õ¹µ½Gateway,NETCONFÒ²»á°ïÖú´´½¨ÏàÓ¦µÄRouting
instanceÅäÖá£Â·ÓɲãÃæµÄ½»»»ÐÅÏ¢,»¹ÊÇͨ¹ýBGPÀ´ÊµÏÖ¡£
TFÖÐÎÄÉçÇø3ÔÂMeetup»î¶¯,½«¾Û½¹Tungsten FabricÓëK8sµÄ¼¯³É,ÓÉÖØÁ¿¼¶¼Î±ö·ÖÏíTungsten
FabricÓëK8sµÄ²¿ÊðºÍʵ¼ù,ÏêϸÑÝʾ²Ù×÷¹ý³Ì,²¢½â´ð¹ØÓÚTungsten
FabricºÍK8sµÄÒ»ÇÐÎÊÌâ¡£¹Ø×¢¡°TFÖÐÎÄÉçÇø¡±¹«ÖÚºÅ,ºǫ́µã»÷¡°»áÒé»î¶¯-Meetup¡±ÁìÈ¡¡£
Tungsten FabricÓõ½µÄÊý¾Ý¿â,¶¼ÊÇ×î½ü8Äê²ÅÓеÄ,±ÈÈç·Ö²¼Ê½Êý¾Ý¿âµÄCassandra¡¢Zoo Keeper¡¢RabbitMQ,Ôڼܹ¹ÉÏÊǸ߿ÉÓᢿÉÀ©Õ¹µÄ,¾ßÌåÄÜÀ©Õ¹µ½¶à´óµÄÁ¿,»¹ÊÇÒª¿´´úÂëʵÏÖ¡£·´¹ýÀ´¿´Neutron,±¾ÖʾÍÊÇÒ»¸öÊý¾Ý¿â,¼Ç¼ÁËËùÓеÄÐÅÏ¢,°ÑËùÓеÄÁ÷±íÏ·¢ÏÂÈ¥¡£
Tungsten FabricµÄÊý¾ÝƽÃæÖ÷ÒªÊÇͨ¹ývRouterÀ´×öת·¢,vRouter agentÔÚuser namespaceµÄ½ø³Ì,°²ÅÅ¿ØÖÆÆ÷»ùÓÚXMPPÁ¬½ÓÄõ½Ò»Ð©ÐÅÏ¢,ÔÙÏ·¢µ½kernelµÄת·¢Æ½Ãæ¡£ÕâÀïÌṩÁ˶þ²ã¸ôÀëºÍÈý²ã¸ôÀëµÄ¹¦ÄÜ,Èç¹û˵ͬһ¸öÍøÂçµÄÐéÄâ»ú,½ÓÔÚͬһ¸övRouterÏÂÃæ,Ë«·½µÄͨОÍÔÚÕâÀïÍê³É¡£²»Í¬×⻧µÄÍøÂçÐéÄâ»ú,½ÓÁ˲»Í¬µÄVRF¡¢Routing
instance,Ò²ÊDz»ÄÜͨÐŵġ£
vRouterÄÚÖÃÁ˺ܶàÍøÂ繦ÄÜ,±ÈÈçDNS¡£Tungsten
FabricµÄDNS»á¸ù¾ÝÖ÷»úµÄDNSÅäÖÃÀ´½âÎö,Èç¹ûÓöµ½ÎÊÌâ,¿ÉÒÔ¼ì²éÒ»ÏÂÖ÷»úµÄDNSÓÐûÓÐÎÊÌâ¡£DHCPÓ¦´ðÒ²ÔÚÕâÀï,Neutron¾Í²»Ò»Ñù,רÃÅÓÐÒ»¸öDHCP
agentÅÜÔÚÒ»¸ö½ÚµãÉÏ,OVSÔÚ´ó¹æÄ£Çé¿öÏÂ,Èç¹û½ÓÁ˳¬¹ý1500¸ö½Ó¿Ú,»ù±¾ÉϾͻá³öÏÖ¶ª°ü,²¢ÇÒ¾³£³öÎÊÌâ¡£
Security GroupÔÚOVSµÄʵÏÖÊÇͨ¹ýºÍlinux bridge¹ØÁªµÄiptablesʵÏÖµÄ,¶øÔÚvRouter¾ÍÊÇͨ¹ýÄÚÖõÄACL¹¦ÄÜʵÏÖ¡£Network
Policy¾ÍÊÇÒ»¸ö·Ö²¼Ê½µÄ·À»ðǽ¡£Floating IPÒ²ÊÇÔÚvRouter×öÁËÒ»¸öNAT³öÈ¥¡£
ÕâÀï¶à̸һÏÂLink-Local,ËüµÄ³¡¾°ÊÇʲô?×÷Ϊһ¸öÔÆ·þÎñÉÌ,ÒªÏò¿Í»§ÌṩNTP·þÎñ¡¢ATP¡¢YUMÔ´¡¢µÈ¹«¹²·þÎñ¡£ÔõôÈÃÐéÄâ»úÔÚÐéÄâÍøÂçÄÚ·ÃÎʵ½Ò»¸ö¹«¹²·þÎñÄØ?Ò»ÖÖ·½Ê½ÊÇ°ÑÕâЩÍøÂçµÄ·ÓÉ´òͨ,ÒòΪÐèÒªÒ»¸öVTEP³ö¿Ú,ͨ¹ýcloud
gateway°Ñ¹«¹²Â·Óɵ¼½øÈ¥,ÕâÑù´øÀ´Ò»¸öÎÊÌâ,ËùÓÐATPÁ÷Á¿¡¢ÏÂÔØÁ÷Á¿¶¼ÒªÍ¨¹ýcloud gateway,Á÷Á¿»á¸ú´ó¡£Tungsten
FabricÌṩһ¸öLink-LocalµÄģʽ,¾ÍÊÇÒ»¸ö169.254µÄµØÖ·,ÔÚÍøÂç±ê×¼ÀïÖ»ÓÐÒ»Ìø¡£ÔÚOpenStackÐéÄâ»ú»òAWSÐéÄâ»úÀïÃæ,metadata·þÎñ¾ÍÊÇͨ¹ý169.254ÌṩµÄ¡£±¾»úûÓÐÕâ¸ö·ÓÉ,µ½Íø¹ØÉ϶ԵØÖ·×öÒ»²ãNAT,±¾»úµÄNAT¾Í»á·ÃÎʵ½ÅäÖõÄLink-LocalÓ³Éä,¼Ì¶ø·ÃÎʵ½ÄÚ²¿µÄ·þÎñ¡£
ÔÚûÓÐÔöÇ¿µÄÇ°ÌáÏÂ,ʵ²âNeutronµÄOVS VXLANµÄÐÔÄÜ(Ö»×öMTUµÄÓÅ»¯),×î¶à´ïµ½Á½¸öǧÕ×µÄÐÔÄÜ¡£¶øvRouterÔÚ²»×öÈκÎÓÅ»¯µÄÇ°ÌáÏÂ,ÄÜ´ïµ½Æß¡¢°ËǧÕ×µÄÐÔÄÜ¡£µ±È»Ò²¿ÉÒÔÀûÓÃDPDK¡¢Smart
NICÀ´×öÓÅ»¯,»òÕßÀûÓÃSR-IOVµÄ͸´«¹¦ÄÜ¡£
ÔÙÀ´¿´¿´Tungsten FabricµÄPacket½»»¥¡£ÎÞÂÛÊÇͬÍø¶Î»¹ÊDz»Í¬Íø¶Î,ÐéÄâ»úÖ®¼äµÄ½»»¥,¶¼ÊÇÔÚvRouter²ãÃæת·¢µÄ,²»»á¾¹ýÒ»¸ö¼¯ÖÐʽµÄgateway¡£ËùÒÔÔÚÐéÄâ»úÖ®¼äµÄÊý¾Ý½»»¥²ãÃæ,ÊÇûÓе¥µãµÄ¡£
ÁíÍâÒ»¸ö±È½ÏÖØÒªµÄ³¡¾°ÊÇSNAT¡£ÔÚOpenStackÀïÃæ,Èç¹ûÐéÄâ»ú½ÓÁËÒ»¸övRouter,¿ÉÒÔͨ¹ývRouterµÄSNAT¹¦ÄÜÈ¥·ÃÎÊexternalµÄÍø¶Î¡£Tungsten
Fabric±¾ÉíÆäʵ²»ÌṩSNAT,µ«Ò²ÊµÏÖÁËSNAT¹¦ÄÜ,ͨ¹ýNS router(ÅÜÔÚ¼ÆËã½ÚµãµÄÒ»¸öIP tables)×öÒ»¸öSNATµÄת·¢,Èç¹ûÐéÄâ»úÒª·ÃÎÊÒ»¸ö·Ç±¾Íø¹ØµÄÍøÂç,Ïȵ½gateway,ת·¢ºó,ÔÙͨ¹ývRouterÁ¬½ÓexternalµÄÍøÂç¡£ÕâÀïNS
routerµÄ´´½¨,ÐèÒªOpenStack novaµÄschedulerÀ´ÅäºÏ¡£
¶ÔÓÚÿһ¸öÍøÂç,¶¼»áÓÐÒ»¸örouterÈ¥×öת·¢,Èç¹ûÁ¿Ì«´ó,Æ¿¾±¿ÉÄܾÍÔÚNS routerÕâÀï,µ«²»»áÓ°ÏìÆäËüµÄÍøÂç¡£
Ö»Òª²»ÔÚÔÆÄÚ,¶¼¿ÉÒÔ½ÐÍâÍø,Òª³öÍâÍøÓÐÁ½ÖÖ·½Ê½:µÚÒ»ÖÖÊÇFloating IP,ÔÚvRouter×öÁËÒ»¸öNAT,°ÑNATºóµÄIPͨ¹ýMPLS over
GREµÄËíµÀ,·¢²¼µ½Cloud GatewayµÄij¸öVRFÀïÃæ,ºÍÍâÍøͨÐÅ¡£
µÚ¶þÖÖÍⲿ»¥ÁªµÄ³¡¾°,¼ÙÈçÒªÌṩһ¸öÔÆ·þÎñ,¿ÉÒÔÕë¶Ô²»Í¬µÄÔËÓªÉÌ×ö²»Í¬µÄflouting IP,Èç¹û×öL3 VPN»òL2 VPNµÄרÏß½ÓÈë·þÎñ,¿ÉÒÔͨ¹ýcloud
gateway½ÓÈëµ½²»Í¬µÄMPLSÍøÂç,ÔÙ°ÑÐéÄâÍøÂç·Óɵ½ÏàÓ¦µÄVRF,Õû¸ö¾Í¶¼Á¬Í¨ÁË¡£ÕâÒ²ÊÇTungsten FabricÇ¿´óµÄµØ·½,MPLS VPNÊǺʹ«Í³µÄÍøÂçÌìÈ»»¥Áª»¥Í¨µÄ¡£
¿ç¼¯ÈºµÄ»¥Áª,»òÕ߽жàÔÆ»¥Áª,Ö÷ÒªÓÐÁ½ÖÖģʽ¡£
µÚÒ»ÖÖÊÇ»ùÓÚ¿ØÖÆÆ÷Ö®¼äµÄ»¥Áª,°ÑVPN¡¢ÍøÂçºÍ½Ó¿ÚµÄÐÅÏ¢,ͨ¹ý¿ØÖÆÆ÷Ö®¼ä½¨Á¢EBGPÁ¬½ÓÀ´´«Êä,ÕâÖÖ·½°¸½ÐFederation¡£
Á½±ßµÄvRouterÖ»ÒªÈý²ã¿É´ï¾Í¿ÉÒÔ,±ÈÈçÒ»±ßµÄB1Òª·ÃÎÊÁíÒ»±ßµÄB3,Á½±ßÊDz»Í¬µÄ¿ØÖÆÆ÷ºÍVPN,MPLS VPNÓиöroute
target,Ò»±ßexportÒ»±ßimport,·ÓÉ±í¿´µ½ÁíÒ»±ßµÄ·ÓÉ,½øÐзÓÉÐÅÏ¢½»»¥,´Ó¶ø½¨Á¢¶þ²ã»òÕßÈý²ãÁ¬½Ó¡£FederationµÄ·½°¸ÊÇÔÚ¿ØÖÆÆ÷²ãÃæʵÏÖµÄ,±È½ÏÊʺÏÓÚͬһ¸öµØÓò,ͬһ¸öÊý¾ÝÖÐÐÄ,ÓбȽϽüµÄÁ¬½ÓµÄÇé¿ö¡£
µÚ¶þÖÖģʽÊÇͨ¹ýcloud gatewayÖ®¼äµÄ»¥Áª,°ÑÍøÂçµÄ²»Í¬VRF,ÔÚcloud gatewayÖ®¼ä½¨Á¢EBGPÁÚ¾Ó,ÊÖ¶¯ÅäÖÃÈ¥import»òexport²»Í¬µÄRT,ʵÏÖ¿çÔƵÄÁ¬½Ó¡£ÐèҪעÒâµÄÊÇ,Á½±ßÊDz»Í¬µÄ¼¯Èº,IPµØÖ·¹ÜÀí²»Ò»ÑùµÄ,·ÖÅäµØÖ·µÄʱºò,Òª±ÜÃâIPµØÖ·µÄÖصþ¡£
×îºó,ºÍNeutron OVS½øÐжԱêµÄ»°,Tungsten Fabric¿ÉÒÔ˵ÊÇÍêʤµÄ¡£
»ù´¡ÍøÂç·½Ãæ,Tungsten Fabric¿ÉÒÔÀ©Õ¹,Neutron OVSÄ¿Ç°Ö»ÄÜÓöþ²ãÍøÂç,ÎÞÂÛ¼¯ÖÐʽ»¹ÊÇ·Ö²¼Ê½,floating
IPϳÁµ½¼ÆËã½ÚµãÕâÒ»²ã,Ä¿Ç°µÄ×é¼þÀﶼûÓгÉÊìµÄBGP·½°¸,Äܹ»°Ñfloating IP·¢²¼µ½±ß½çÍø¹Ø,OVS DVRºÍ±ß½çÍø¹ØÖ»ÄÜͨ¹ý¶þ²ãÁ¬½Ó¡£
¶Ô±È¼Ü¹¹·½Ãæ,Tungsten FabricÊÇ¿ÉÀ©Õ¹µÄ,3¸ö½ÚµãÐÔÄܲ»¹»,¿ÉÒÔÀ©Õ¹µ½5¸ö½Úµã¡£Neutron
OVSËäÈ»ÊÇÒ»¸ö¸ß¿ÉÓüܹ¹,ͨ¹ýMySQL¼¯ÈºÊµÏÖÊý¾Ý¿â¸ß¿ÉÓÃ,ͨ¹ýK8sʵÏÖAPI¸ß¿ÉÓÃ,µ«¼ÆËãÂß¼²»ÊÇ·Ö²¼Ê½µÄ,ÑÏÖØÒÀÀµRabbitMQ¡£Èç¹ûʹÓÃDVRģʽ,ÿ¸ö¼ÆËã½ÚµãÒª²¿ÊðËĸöagent,´øÀ´¸ü¶àµÄtopic,¶ÔRabbitMQµÄÐÔÄÜÊǺܴóµÄÌôÕ½,Ö»Òª³öÏÖÒ»¸öRabbitMQå´»ú»òÍøÂ綶¶¯,»áÂíÉÏÖ´Ðм¯Èº»Ö¸´»úÖÆ,µ¼ÖÂRabbitMQºÜ¿ìËÀµô¡£
ÁíÍâ,ÔÚת·¢Æ½ÃæÉÏ,Open vSwitchµÄÐÔÄÜûÓÐvRouterºÃ;Tungsten
FabricµÄÍøÂ繦Äܸü·á¸»,¶øNeutronµÄOctaviaµÈÔÉúLBaaS×é¼þÒ²Óдý³ÉÊì;¶àÔÆ»¥Áª·½ÃæTungsten Fabric»ùÓÚMPLS
VPN;ºÍÍøÂçÉ豸µÄ½»»¥·½Ãæ,NeutronÖ»ÓÐironicµÄnetworking generic switc driver,Tungsten
FabricÖ§³ÖBGP¡¢NETCONF¡¢EVPN-VXLANµÈ,»ùÓÚ±ê×¼µÄÐÒé,º¸ÇÁËÕ°²©ÍøÂ硢˼¿Æ¡¢»ªÎª¡¢Èñ½ÝµÈ³§É̵ÄÉ豸¡£
½ñÌì¾ÍÏÈ·ÖÏíµ½ÕâÀлл´ó¼Ò!
±¾´ÎÑݽ²¼°TFÖÐÎÄÉçÇø¡°2020µÚÒ»´ÎMeetup¡±»î¶¯×ÊÁÏ,ÇëÔÚ¡°TFÖÐÎÄÉçÇø¡±¹«Öںźǫ́µã»÷¡°»áÒé»î¶¯-Meetup¡±ÁìÈ¡¡£
2020Äê02ÔÂ25ÈÕ ÓÚÉϺ£
°æȨ×÷Æ· δ¾Ðí¿É ÇëÎðתÔØ ¡¡