20200619_jeffrey - silenceuncrio/diary GitHub Wiki
M360P - task - [0%] P1 - Status of route learned through BGP
RD meeting
M360P - task - [0%] P1 - Status of route learned through BGP
commit 9b4793a6e88e6719f7a7899e1d9872f54aaee214
Refs: [hotfix/v1.08], {origin/hotfix/v1.08}
Author: jeffrey <[email protected]>
Date: Fri Jun 19 14:20:50 2020 +0800
add nav 'route' at 'IP Routing > BGP' to show the learned routes
proscend/prosrc/www/app/feature/bgp.html | 14 +++-
proscend/prosrc/www/app/feature/bgp.js | 46 +++++++++++++
proscend/prosrc/www/app/feature/bgp_tab_route.html | 77 ++++++++++++++++++++++
proscend/prosrc/www/app/locale-en.json | 6 ++
proscend/prosrc/www/app/locale-fr.json | 6 ++
proscend/prosrc/www/app/locale-zh-tw.json | 6 ++
proscend/prosrc/www/app/services/icos.service.js | 3 +
.../prosrc/www/src/manual/ip_routing_bgp.h.html | 3 +-
8 files changed, 159 insertions(+), 2 deletions(-)
commit e6698dfd32cb6d7e53bc59a7ac0b6809b33bc396
Refs: [hotfix/v1.08], {origin/hotfix/v1.08}
Author: jeffrey <[email protected]>
Date: Fri Jun 19 15:35:03 2020 +0800
refactoring bgp route
- use
echo -e "zebra\nshow ip route\n" | nc localhost 2601 > <filr>
instead of
vty
- use interface name instead of dev name
- use route cache in browser side to save time
proscend/prosrc/icos/icoslib/bgp/bgp.c | 21 ++++++--
proscend/prosrc/www/app/feature/bgp.js | 58 ++++++++++++++++++----
proscend/prosrc/www/app/feature/bgp_tab_route.html | 2 +-
3 files changed, 66 insertions(+), 15 deletions(-)
使用 echo -e "zebra\nshow ip route\n" | nc localhost 2601 > <filr>
取代 vty
根本不用費心去處理抓不完的問題
commit 63d06dbd2d88e7a6b2319ed9494beef19eeab59a
Refs: [hotfix/v1.08], {origin/hotfix/v1.08}
Author: jeffrey <[email protected]>
Date: Fri Jun 19 16:06:09 2020 +0800
add a 'Renew' button at route nav of 'IP Routing > BGP' page
proscend/prosrc/www/app/feature/bgp_tab_route.html | 9 ++++++++-
proscend/prosrc/www/app/locale-en.json | 1 +
proscend/prosrc/www/app/locale-fr.json | 1 +
proscend/prosrc/www/app/locale-zh-tw.json | 1 +
4 files changed, 11 insertions(+), 1 deletion(-)
commit 71bc4bec8926fd72362f03f654a39a3cf40dc7ef
Refs: [hotfix/v1.08], {origin/hotfix/v1.08}
Author: jeffrey <[email protected]>
Date: Fri Jun 19 16:51:29 2020 +0800
add more fields at 'Route' nav of 'IP Routing > BGP' page
- Distance
- Metric
- Last Update
proscend/prosrc/icos/icoslib/bgp/bgp.c | 14 +++++++++++---
proscend/prosrc/icos/include/module_bgp.h | 3 +++
proscend/prosrc/icos/vty/vty.c | 8 +++++---
proscend/prosrc/webcgi/bgp.c | 3 +++
proscend/prosrc/www/app/feature/bgp_tab_route.html | 6 ++++++
proscend/prosrc/www/app/locale-en.json | 6 +++++-
proscend/prosrc/www/app/locale-fr.json | 6 +++++-
proscend/prosrc/www/app/locale-zh-tw.json | 6 +++++-
8 files changed, 43 insertions(+), 9 deletions(-)