20200618_jeffrey - silenceuncrio/diary GitHub Wiki
0900
čç m300 é sample ĺžç厢ćśĺéĄ
1300
M360P - task - [0%] P1 - Status of route learned through BGP
commit 6bd70f20fb303278ab407476aff55b251c6d053e
Author: jeffrey <[email protected]>
Date: Thu Jun 18 13:48:55 2020 +0800
first step of bgp status route
- all in bgp.cgi
proscend/prosrc/icos/include/module_bgp.h | 108 +++++++
proscend/prosrc/icos/vty/vty.c | 33 +-
proscend/prosrc/webcgi/bgp.c | 488 ++++++++++++++++++++++++++++++
3 files changed, 626 insertions(+), 3 deletions(-)
1400
isms meeting
- get set page ĺŞĺ ĺ
1500
M360P - task - [0%] P1 - Status of route learned through BGP
vty telnet zebra ĺž show ip route ć
recv() é˝ćććŠĺ ć˛ć buffer ćśćťżĺ°č´ć˛ć zebra çŽĺç route book čŽĺŽ
commit 8bb5c2758ee96eebd63342cc8b636c35aeedcfe7
Author: jeffrey <[email protected]>
Date: Thu Jun 18 16:32:36 2020 +0800
solve the problem at vty when issue TxCommand("show ip route\n")
when the route book is big, for ex: 1k
the RxCommand after TxCommand("show ip route\n") can not rx the total book at one shot
so we need to check the "aspect last line" of TxCommand("show ip route\n")
if not the last line yet, continue TxCommand("\n") and rx again and again until the last line
proscend/prosrc/icos/include/module_bgp.h | 2 +-
proscend/prosrc/icos/vty/vty.c | 116 +++++++++++++++++++++++++++---
2 files changed, 106 insertions(+), 12 deletions(-)
commit 1feab4b137e801b19b7c43b89457eb219837bf67
Refs: [hotfix/v1.08], {origin/hotfix/v1.08}
Author: jeffrey <[email protected]>
Date: Thu Jun 18 17:14:34 2020 +0800
move the related implementation about bgp status route from cgi to icos
proscend/prosrc/icos/icoslib/bgp/bgp.c | 260 +++++++++++++++++++++++++++++++--
proscend/prosrc/webcgi/bgp.c | 8 +-
2 files changed, 252 insertions(+), 16 deletions(-)