Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

SONiC Management Framework Release 1.0 #23

Merged
merged 114 commits into from
Dec 23, 2019
Merged
Changes from 1 commit
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
979603c
Merge arlo_hw_dev branch build arlo_hw_dev_daily_190529_1519_43 to br…
rupesh-k May 30, 2019
2c9b88d
GNMI PoC changes
Jun 12, 2019
c98c346
Ignore test results for gnmi_server
nirenjan Jul 10, 2019
dd18f0d
Merge pull request #1 from project-arlo/brcm_poc
seiferteric Jul 10, 2019
5431663
Move source files into src, change import paths, fixing Makefile
seiferteric Jul 11, 2019
eab8627
More Makefile changes
seiferteric Jul 11, 2019
0c11765
Install CVL deps and update gopath
seiferteric Jul 11, 2019
e99617b
Merge pull request #2 from project-arlo/buildimage-refactor
seiferteric Jul 11, 2019
5b97972
Add back install and other targets to fix deb package
seiferteric Jul 12, 2019
9bad8a2
Merge pull request #3 from project-arlo/buildimage-refactor
seiferteric Jul 12, 2019
d746189
Add gnmi set and get client to build
seiferteric Jul 12, 2019
4413090
Merge pull request #4 from project-arlo/buildimage-refactor
seiferteric Jul 12, 2019
7e1232d
trigger building ocbinds file in translib, forgot to add gnmi_clients…
seiferteric Jul 12, 2019
1efebb1
Merge pull request #5 from project-arlo/buildimage-refactor
seiferteric Jul 12, 2019
fb4e5ab
Fix build issue
seiferteric Jul 17, 2019
bcc1005
Merge pull request #6 from project-arlo/buildimage-refactor
jeff-yin Jul 17, 2019
20e9287
Port polling subscriptions code for translib
seiferteric Jul 19, 2019
8327976
Implement ONCE subscribe mode for translib
seiferteric Jul 19, 2019
b9c8b55
Add gnmi_cli for subscribe client, update Makefile to build it, add .…
seiferteric Jul 19, 2019
eb836de
Merge pull request #7 from project-arlo/subscribe-support
seiferteric Jul 19, 2019
837b6f8
Ad once channel cleanup
seiferteric Jul 19, 2019
8724922
Merge pull request #8 from project-arlo/subscribe-support
seiferteric Jul 19, 2019
bf90d2d
Initial support for sample based streaming subscribe
seiferteric Jul 23, 2019
e51eef1
Add paths to existing timer group if interval is the same
seiferteric Jul 23, 2019
106f9e7
cleanup
seiferteric Jul 23, 2019
3a47ffc
Use ticker_info struct
seiferteric Jul 23, 2019
ba46a2e
cleanup
seiferteric Jul 23, 2019
7bfaff7
Add some dummy code for future subscribe api
seiferteric Jul 23, 2019
7c09914
Fixes, also include binary for gnmi_cli for now
seiferteric Jul 23, 2019
48eb031
Merge pull request #9 from project-arlo/sample-subscribe
jeff-yin Jul 26, 2019
2a992fc
Fix issue with updates and replace with interfaces
seiferteric Aug 2, 2019
3c0ea42
Merge pull request #10 from project-arlo/fix-if-replace-update
seiferteric Aug 2, 2019
7fdf816
wip
seiferteric Aug 2, 2019
fd04cae
convert subscribeResponse to gnmi subscribeResponse and return
seiferteric Aug 2, 2019
2ef0803
Fix issue with when sync message is sent. Add heartbeat support. Add …
seiferteric Aug 2, 2019
eeca1c2
Update IsSupported to IsOnChangeSupported, add heartbeat_interval sup…
seiferteric Aug 3, 2019
63d870a
Close channel on error, check if timer if HB
seiferteric Aug 5, 2019
e43f136
Implement suppress_redundant, fix ticker_map format, remove some debu…
seiferteric Aug 5, 2019
128f8fb
Fix bug with sync messages
seiferteric Aug 6, 2019
f090387
Merge pull request #11 from project-arlo/translib-stream-subscribe
seiferteric Aug 6, 2019
3d0dcea
Return models based on translib GetModels API
seiferteric Aug 7, 2019
63fdd24
Merge pull request #12 from project-arlo/capabilities-models
seiferteric Aug 8, 2019
1c5bebf
Check error response before adding to on_change list
seiferteric Aug 12, 2019
8eb460a
Merge pull request #13 from project-arlo/translib-stream-subscribe
seiferteric Aug 12, 2019
801de2c
Implement updates_only for ON_CHANGE streaming mode
seiferteric Aug 13, 2019
cc6b0d1
Merge pull request #14 from project-arlo/translib-stream-subscribe
seiferteric Aug 13, 2019
7d4d497
[JIRA SONIC-8247] Merge Telemetry changes done by Dell team
Aug 19, 2019
8bf4e24
Add test directory
seiferteric Aug 22, 2019
7ec104a
Merge pull request #15 from project-arlo/tests
seiferteric Aug 22, 2019
84d73e1
Disable old tests that fail due to new fields being added. Add basic …
seiferteric Aug 28, 2019
07568b0
Merge pull request #16 from project-arlo/tests
skg-net Aug 28, 2019
ff7af51
[JIRA SONIC-8247] Merge Telemetry changes done by Dell team
Sep 3, 2019
3e3cfe3
working gnmi sys and pfm test without clearing bad logs
arunsundark Sep 4, 2019
58ddd0a
[JIRA SONIC-8247] Merge Telemetry changes done by Dell team
Sep 4, 2019
ce69aad
Changes for testing get/set operations on OC interfaces
Tejaswi-Goel Sep 4, 2019
6f9b30f
Fix some issues with test infra
seiferteric Sep 5, 2019
f0380de
fix
seiferteric Sep 5, 2019
d3c279d
Fix paths
seiferteric Sep 5, 2019
253408d
Code cleanup in server_test.go
Tejaswi-Goel Sep 5, 2019
f451b18
Add test to set ip address
Tejaswi-Goel Sep 5, 2019
45540f4
Working gnmi server test for sys,pfm,interfaces
arunsundark Sep 5, 2019
8ecd4ab
Add json file for ip config
Tejaswi-Goel Sep 5, 2019
c517336
Merge pull request #17 from project-arlo/gnmi_test_sys_pfm
PrabhuSreenivasan Sep 5, 2019
a5d9c69
Add delete testcase
Tejaswi-Goel Sep 5, 2019
7316e0b
Merge pull request #18 from project-arlo/gnmi-add-delete-test
seiferteric Sep 5, 2019
370e87e
Minor fix in Delete OC Interface IP testcase
Tejaswi-Goel Sep 5, 2019
0a80583
Merge pull request #19 from project-arlo/gnmi-add-delete-test
seiferteric Sep 5, 2019
4a7c319
Add code to check values set
Tejaswi-Goel Sep 5, 2019
6bc9fae
Merge pull request #20 from project-arlo/gnmi-test-after-set
seiferteric Sep 5, 2019
d89e899
[JIRA SONIC-9215] Telemetry UT from Dell
Sep 8, 2019
fd40a87
Merge pull request #21 from project-arlo/master
PrabhuSreenivasan Sep 8, 2019
7e518da
Merge remote-tracking branch 'project-arlo-telemetry/brcm_poc' into b…
Sep 8, 2019
957486a
Merge remote-tracking branch 'project-arlo-telemetry/brcm_poc' into b…
Sep 8, 2019
61404c3
Merge remote-tracking branch 'project-arlo-telemetry/brcm_poc' into b…
Sep 8, 2019
e78c8f9
Merge pull request #22 from project-arlo/brcm_poc
seiferteric Sep 11, 2019
6de4dc3
Add full code for gnmi_cli with our changes so it can be built from s…
seiferteric Sep 11, 2019
fd5bd55
Merge remote-tracking branch 'sshorigin/master' into gnmi_cli_fixes
seiferteric Sep 11, 2019
aead202
[JIRA SONIC-9215] Telemetry UT from Dell
Sep 11, 2019
31b29a2
Merge remote-tracking branch 'project-arlo-telemetry/brcm_poc' into b…
Sep 11, 2019
ded3628
Fix streaming_type in tests
seiferteric Sep 11, 2019
03a023d
Merge pull request #24 from project-arlo/brcm_poc
seiferteric Sep 11, 2019
93114d8
Merge pull request #23 from project-arlo/gnmi_cli_fixes
seiferteric Sep 11, 2019
7032ce8
Set Min TLS Version and cipher suites
seiferteric Sep 13, 2019
403147a
Fix spaces to tabs
seiferteric Sep 13, 2019
fe6d567
Update cipher suite list again
seiferteric Sep 13, 2019
d3e75cb
Merge pull request #26 from project-arlo/update_tls_config
seiferteric Sep 13, 2019
ce9606f
Remove duplicate ciphers
seiferteric Sep 13, 2019
49013ab
Merge pull request #27 from project-arlo/update_tls_config
seiferteric Sep 13, 2019
7ca2198
Disable platform specific test for now
seiferteric Sep 13, 2019
8e2b182
Merge pull request #28 from project-arlo/tests
Tejaswi-Goel Sep 13, 2019
da8e56a
Add check that heartbeat_interval is only valid on streaming query type
seiferteric Sep 13, 2019
3cb0aae
Merge pull request #31 from project-arlo/gnmi_cli_fixes
seiferteric Sep 17, 2019
90c6a1b
Made changes in the Makefile to maintain the github pkg version
mbalachandar Nov 22, 2019
0903f80
Remove gnmi_client direcotry, instead download and patch files as needed
seiferteric Nov 22, 2019
f16b0b5
Change project-arlo to Azure in README.md
seiferteric Nov 22, 2019
ada2cc3
Remove arlo urls from debian/control
seiferteric Nov 23, 2019
028b843
Address review comments
seiferteric Dec 3, 2019
3e94610
Add cvl deps to telemetry makefile and build cvl locally
seiferteric Dec 3, 2019
f9408e3
Use patches from mgmt-framework, make and install yang models.
seiferteric Dec 4, 2019
21bb904
Use isTargetDb instead of hard-coded list
seiferteric Dec 4, 2019
91eca7d
Begin conversion to go modules
seiferteric Dec 17, 2019
e7de037
Copy translib and cvl to compile locally until they convert to go mod…
seiferteric Dec 17, 2019
449d9cf
fix
seiferteric Dec 17, 2019
888d836
Add schema and models
seiferteric Dec 18, 2019
38e41b5
Merge remote-tracking branch 'azure/master' into release_1.0_gomod_merge
seiferteric Dec 18, 2019
9f897f1
Change gnmi_server package name back to just gnmi
seiferteric Dec 18, 2019
aa09bb5
merge fixes
seiferteric Dec 18, 2019
545901e
Add gnmi clients
seiferteric Dec 18, 2019
8f0c086
For now don't verify tests so that deb can be built
seiferteric Dec 18, 2019
690b1ec
Add test binary compilation back
seiferteric Dec 18, 2019
306b7b5
Split up sonic-mgmt-framework specific steps in Makefile
seiferteric Dec 18, 2019
c491dcd
Merge pull request #63 from project-arlo/release_1.0_gomod_merge
seiferteric Dec 18, 2019
3e4519a
Fix translib based tests by preparing db with db dump from switch
seiferteric Dec 19, 2019
b5b1f75
Don't stop make check on test failure for now since there is no redis…
seiferteric Dec 19, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add check that heartbeat_interval is only valid on streaming query type
  • Loading branch information
seiferteric committed Sep 13, 2019
commit da8e56aba4b962d4fd054f207dd0eb2c271071b7
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,11 @@ func executeSubscribe(ctx context.Context) error {
return errors.New("-streaming_type must be one of: (TARGET_DEFINED, ON_CHANGE, SAMPLE)")
}
q.Streaming_sample_int = uint64(*streaming_sample_int)*uint64(time.Second)
q.Heartbeat_int = uint64(*heartbeat_int)*uint64(time.Second)
if *queryType == "streaming" || *queryType == "s" {
q.Heartbeat_int = uint64(*heartbeat_int)*uint64(time.Second)
} else if *heartbeat_int > 0 {
return errors.New("-heartbeat_interval only valid with streaming query type")
}
q.Suppress_redundant = bool(*suppress_redundant)
for _, path := range *queryFlag {
query, err := parseQuery(path, cfg.Delimiter)
Expand Down