20171017_jeffrey - silenceuncrio/diary GitHub Wiki

0900

review

1055

幫 ariel 做個小修改

commit 74f982a08394f8de2ecf5581bab785354a41fe11
Author: jeffrey <[email protected]>
Date:   Tue Oct 17 10:53:46 2017 +0800

    Display the current active SIM nav while open 'Dual SIM' Web page

 proscend/prosrc/www/app/feature/dualSim.html |  4 ++--
 proscend/prosrc/www/app/feature/dualSim.js   | 11 +++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

1110

目前的 OSPF_2G module 開機的 log 如下

root@M300:~# cat /home/log/ospf_2g.log
1508208789[20171017 2:53:9] [_get_setting:394][Info] GetSetting: OSPF_2G with flag: 0
1508208789[20171017 2:53:9] [_verify_setting:466][Info] VerifySetting: OSPF_2G
1508208789[20171017 2:53:9] [_get_setting:408][Debug] Getting JSON data from /etc/icos/ospf_2g/ospf_2g.json
1508208789[20171017 2:53:9] [_get_setting:416][Debug] jobj: { "mode": "off", "redistribute_kernel": "off", "redistribute_connected": "off", "redistribute_static": "off", "redistribute_rip": "off", "redistribute_bgp": "off", "interfaces": [ ], "networks": [ ] }
1508208789[20171017 2:53:9] [_json_2_setting_handle:74][Debug] JSON2Setting handle
1508208789[20171017 2:53:9] [_json_2_setting_handle:82][Debug] mode: 0
1508208789[20171017 2:53:9] [_json_2_setting_handle:90][Debug] redistribute_kernel: 0
1508208789[20171017 2:53:9] [_json_2_setting_handle:98][Debug] redistribute_connected: 0
1508208789[20171017 2:53:9] [_json_2_setting_handle:106][Debug] redistribute_static: 0
1508208789[20171017 2:53:9] [_json_2_setting_handle:114][Debug] redistribute_rip: 0
1508208789[20171017 2:53:9] [_json_2_setting_handle:122][Debug] redistribute_bgp: 0
1508208789[20171017 2:53:9] [_apply:363][Info] Apply: OSPF_2G with flag: 0
1508208789[20171017 2:53:9] [_verify_setting:466][Info] VerifySetting: OSPF_2G
1508208789[20171017 2:53:9] [_set_setting:430][Info] SetSetting: OSPF_2G with flag: 2
1508208789[20171017 2:53:9] [_verify_setting:466][Info] VerifySetting: OSPF_2G
root@M300:~#

目前還沒真正連動到 ospfd

不過感覺我可以先把 Web UI 做完

先把到目前為止的進度作 commit

commit 6a3cbb84d25bfc751b1495ed5ccbec464853a667
Author: jeffrey <[email protected]>
Date:   Tue Oct 17 11:11:54 2017 +0800

    'OSPF_2G' ICOS module implementing:
    - add 'MODULE_OSPF_2G' into moduleInitAry
    - add ospf2gModule
    - add factory default configuration
    - Apply function not implement yet

 .../rootfs/home/factory/icos/ospf_2g/ospf_2g.json  |  10 +
 proscend/prosrc/icos/icoslib/Makefile              |   3 +
 proscend/prosrc/icos/icoslib/entry.c               |  11 +-
 proscend/prosrc/icos/icoslib/ospf_2g/Makefile      |  14 +
 proscend/prosrc/icos/icoslib/ospf_2g/ospf_2g.c     | 533 +++++++++++++++++++++
 proscend/prosrc/icos/include/icos_common.h         |   1 +
 proscend/prosrc/icos/include/icos_module.h         |   1 +
 proscend/prosrc/icos/include/module_ospf_2g.h      | 274 +++++++++++
 8 files changed, 845 insertions(+), 2 deletions(-)

1300

先 update branch release/v1.29 的 release notes

commit 12dfc709ae28fa1e5434d5f1acf6e59f4e80c7f6
Refs: [release/v1.59], {origin/release/v1.59}
Author: jeffrey <[email protected]>
Date:   Tue Oct 17 13:13:17 2017 +0800

    Update the release notes

 M30x-ReleaseNotes.txt          | 20 +++++++++++++++++---
 M30x-ReleaseNotes_Azuretec.txt | 20 +++++++++++++++++---
 M30x-ReleaseNotes_Planet.txt   | 20 +++++++++++++++++---
 3 files changed, 51 insertions(+), 9 deletions(-)

1325

來做 OSPF_2G 的 CGI

commit 4bac31a41ffa1e428d9f0bad9eb657ff693d0b55
Author: jeffrey <[email protected]>
Date:   Tue Oct 17 13:27:30 2017 +0800

    'OSPF_2G' ICOS module implementing:
    - add CGI

1435

早上幫 ariel 做的小修改有瑕疵

再補一下

commit 638bab9335339e2ca8a7c1b076c3d39706746d12
Author: jeffrey <[email protected]>
Date:   Tue Oct 17 14:35:30 2017 +0800

    Display the current active SIM nav and content while open 'Dual SIM' Web page

 proscend/prosrc/www/app/feature/dualSim.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)