Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model-based replace operation using PUT #152

Open
wants to merge 501 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
501 commits
Select commit Hold shift + click to select a range
a99788b
Merge pull request #65 from project-arlo/mf_hld_update
sachinholla Apr 9, 2020
ed00d1f
Update Mgmt framework HLD for CLI/Transformer enhancements (#66)
kwangsuk Apr 9, 2020
e10cc27
Updated mgmt-framework to include details with
faraazc Apr 10, 2020
3b3ce96
Update gNMI sections (#67)
seiferteric Apr 10, 2020
f4d4483
Merge branch 'master' into mgmt_framework_hld
anand-kumar-subramanian Apr 10, 2020
9783c16
Merge pull request #68 from project-arlo/mgmt_framework_hld
anand-kumar-subramanian Apr 10, 2020
78432cd
Added information on sonic-mgmt-common repo
anand-kumar-subramanian Apr 10, 2020
4885968
Update the DB Access Layer with some additional APIs and clarifications
a-barboza Apr 13, 2020
6d3e4b8
Added VRF examples and updated sonic-yang model
obaidamin Apr 21, 2020
8fff56b
First draft of HLD for management framework NTP support
May 4, 2020
dd4ccdf
mv .txt to .md
May 4, 2020
560e8f8
Merge pull request #60 from project-arlo/show-ip-arp-vrf
bhavini-gada May 5, 2020
ed4fda1
Merge pull request #58 from project-arlo/portchannel_command
bhavini-gada May 5, 2020
67a7060
DNS support in SONiC
venkatmahalingam May 8, 2020
c402169
Added VRRP HLD for Buzznik
dks19 May 8, 2020
66283fd
Support for source interface and comments addressed
venkatmahalingam May 12, 2020
9033f18
Adding aliasFeature HLD doc.
justinejose91 May 13, 2020
0d15cb4
Alias Feature HLD
justinejose91 May 14, 2020
271f60b
Deleting the aliasFeature HLD from the repo.
justinejose91 May 14, 2020
179fc0f
Comment addressed
venkatmahalingam May 16, 2020
50a7b29
Merge pull request #70 from project-arlo/DNS-HLD
venkatmahalingam May 16, 2020
7351fb1
Merge pull request #23 from project-arlo/frr-bgp-ext-mgmt-frmwrk
venkatmahalingam May 16, 2020
074f989
EVPN VxLAN HLD
May 21, 2020
8e62ba6
Merge pull request #75 from rpjain-nw/master
dks19 May 21, 2020
bd19be2
LDAP Name Service
a-barboza May 21, 2020
599f413
MCLAG Enhancements HLD
Praveen-Brcm May 22, 2020
634d8d6
Updated with Separate IP klish details
Praveen-Brcm May 22, 2020
0e10f56
Add LACP fast rate option to Interfaces HLD
May 22, 2020
e8d36de
Updated Mclag Enhancements document
Praveen-Brcm May 22, 2020
8f390bd
Remove MCLAG HLD
Praveen-Brcm May 22, 2020
6aef38c
MCLAG Enhancements HLD
Praveen-Brcm May 22, 2020
23a1aa9
Update
Praveen-Brcm May 22, 2020
68e5799
MCLAG Enhancements HLD.
Praveen-Brcm May 26, 2020
b18bdad
Add show command examples with different interface naming mode
May 28, 2020
1396a9c
SONiC RBAC (#62)
nirenjan May 29, 2020
4187238
Update sFlow HLD
GarrickHe May 29, 2020
a5ad11a
Merge pull request #89 from project-arlo/oc-sflow
GarrickHe Jun 3, 2020
626b62f
Qos Management HLD
AshokDaparthi Jun 4, 2020
d459497
Updated for source-interface support
venkatmahalingam Jun 8, 2020
f7782e9
MCLAG Enhancements HLD.
Praveen-Brcm May 26, 2020
3e5f2c1
Merge branch 'mclag_enhance_hld' of https://github.com/project-arlo/S…
Praveen-Brcm Jun 9, 2020
fd41906
Addressed the commented mentioned in the HLD.
Jun 9, 2020
3c266da
Updated HLD with review comments
AshokDaparthi Jun 10, 2020
4235358
Corrected typos
AshokDaparthi Jun 10, 2020
64bc28a
HLD to provide interfaces to warm-restart feature to configure and sh…
Arul-Jeniston-Mc Jun 15, 2020
577516a
HLD to provide CLI, REST, GNMI interfaces warm-restart
Arul-Jeniston-Mc Jun 15, 2020
aef34ca
Delete warm_restart_management_interface_feature.md
Arul-Jeniston-Mc Jun 15, 2020
0850498
Merge pull request #48 from project-arlo/sonic_host_service
sameerdell Jun 15, 2020
b33995a
HLD to implement CLI, REST and gNMI interface to configure and manage…
Arul-Jeniston-Mc Jun 15, 2020
8e8235b
Delete warm_restart_management_interface_feature.md
Arul-Jeniston-Mc Jun 15, 2020
88acf0d
Delete warm_restart_management_interface_feature.md
Arul-Jeniston-Mc Jun 15, 2020
0fd0109
HLD to implement CLI, REST and gNMI interface to configure and manage…
Arul-Jeniston-Mc Jun 15, 2020
f2080e0
PIM-SSM(IPv4) HLD for Mgmt-framework changes
rathnasabapathyv Jun 16, 2020
f4fe80e
update
rathnasabapathyv Jun 16, 2020
e2a3595
Address RBAC HLD comments (#94)
nirenjan Jun 17, 2020
f1c492f
Merge branch 'master' of https://github.com/project-arlo/SONiC into p…
rathnasabapathyv Jun 17, 2020
7ed9201
Updated Openconfig section
rathnasabapathyv Jun 17, 2020
6991b27
Sflow on mgmt VRF support.
venkatmahalingam Jun 18, 2020
b0d0596
Merge pull request #77 from project-arlo/lacp-fast-rate
bhavini-gada Jun 18, 2020
d4b0514
Interface range Specification feature HLD
Tejaswi-Goel May 21, 2020
dea81de
update CLI section
kwangsuk Jun 19, 2020
0a77663
update version
kwangsuk Jun 20, 2020
728ca39
Add markup
kwangsuk Jun 20, 2020
9861f89
Merge pull request #97 from project-arlo/cli-guide
anand-kumar-subramanian Jun 20, 2020
6713e5b
LDAP Name Service
a-barboza Jun 23, 2020
762c276
Phase-II changes with new repo structure
sachinholla Jun 24, 2020
2cc2715
TOC update
sachinholla Jun 24, 2020
e7b1212
Merge pull request #98 from project-arlo/dev_guide_update
faraazbrcm Jun 25, 2020
fcd8129
Merge pull request #76 from project-arlo/ldap_hld
a-barboza Jun 25, 2020
57ad122
Corrected typos and added watermark percentage cli
AshokDaparthi Jun 26, 2020
004d49e
Update details with respect to document generators and JSON tools
faraazbrcm Jun 26, 2020
4435cd5
Merge pull request #1 from faraazbrcm/faraazbrcm-patch-1
faraazbrcm Jun 26, 2020
a33b997
Merge pull request #99 from faraazbrcm/master
anand-kumar-subramanian Jun 26, 2020
f2614e9
Comments addressed
venkatmahalingam Jun 29, 2020
85e727a
Merge pull request #96 from project-arlo/sflow-mgmt-vrf
venkatmahalingam Jun 29, 2020
e4d6eb4
HLD for audit-log
spenugondaa Jul 1, 2020
9860147
Updated show cmds o/p
rathnasabapathyv Jul 7, 2020
6f78308
Merge branch 'master' of https://github.com/project-arlo/SONiC into p…
rathnasabapathyv Jul 7, 2020
32e1a2e
Updated OC Interface HLD regarding rate utilization counters enhancem…
Jul 8, 2020
8f8c775
Added flags information to show ip pim topology cmd
rathnasabapathyv Jul 8, 2020
507adf5
Updated HLD's with rate utilization counters info.
Jul 8, 2020
35e51e0
Added rate-interval info under rest api section.
Jul 9, 2020
774812d
Updated Change Description.
Jul 9, 2020
5d03249
Removed not supported counters.
Jul 9, 2020
d985a68
Changed datatype for utilization counters as per the review comments.
Jul 9, 2020
b1e2887
Added info about show interface counters rate command.
Jul 9, 2020
e5198c5
Fixed issue in formatting
Jul 9, 2020
fd05270
Added rate interval column for show interface counters rate command.
Jul 9, 2020
5a6931c
Updated rate interval values.
Jul 9, 2020
33100df
Display packets first followed by bits and bytes info, addressed as p…
Jul 14, 2020
101aec0
Updated OC-yang for OC-yang compliance fixes and upTime/expiryTime ya…
rathnasabapathyv Jul 14, 2020
284af7e
Added show o/p for show ip pim vrf all option + updated other section…
rathnasabapathyv Jul 18, 2020
da59ec1
updated show o/p details
rathnasabapathyv Jul 18, 2020
b296878
Update Audit_Log_HLD.md
spenugondaa Jul 23, 2020
f378e0b
Update Audit_Log_HLD.md
spenugondaa Jul 23, 2020
eabd9d9
Add Transformer_RFC_Compliance.md file
jeff-yin Jul 23, 2020
6837959
Add PUT cases.jpg for RFC compliance doc
jeff-yin Jul 23, 2020
ec1613e
Delete PUT cases.jpg
jeff-yin Jul 23, 2020
be395bf
Fix ToC, minor edits to Transformer_RFC_Compliance
jeff-yin Jul 23, 2020
1e37928
Add PUT_cases.jpg for RFC_Compliance doc
jeff-yin Jul 23, 2020
ee1ec48
Fix more ToC links in Transformer_RFC_Compliance
jeff-yin Jul 23, 2020
e0b090b
Merge pull request #103 from project-arlo/xfmr_rfc_compliance
kwangsuk Jul 24, 2020
0d9c075
Update Audit_Log_HLD.md
spenugondaa Jul 27, 2020
aec1dbb
Management framework- CLI "show running conifguration" Document.
bhaveshdell May 22, 2020
55aca1f
Rename the files.
bhaveshdell May 22, 2020
0f22100
Update image file name.
bhaveshdell May 22, 2020
27a092f
Update command and view rendering sections.
bhaveshdell May 26, 2020
02adcfa
Address review comments.
bhaveshdell Jun 15, 2020
546faa3
Revise and update.
bhaveshdell Jun 16, 2020
58877e0
Update users guide with section on command formats.
bhaveshdell Aug 6, 2020
8e9fa14
Merge pull request #102 from project-arlo/intf-counters-rate-util
sameerdell Aug 11, 2020
6c9be22
Merge pull request #100 from project-arlo/audit-log-hld
sameerdell Aug 11, 2020
828264e
Merge pull request #93 from project-arlo/Arul-Jeniston-Mc-patch-2
sameerdell Aug 11, 2020
e19d56a
Merge pull request #78 from project-arlo/showrunning-doc
sameerdell Aug 11, 2020
a9f8931
Merge pull request #39 from project-arlo/tacacs-hld
sameerdell Aug 11, 2020
191c7b0
Merge pull request #95 from project-arlo/pim_ssm_3.x_dev
sameerdell Aug 11, 2020
59a9b70
HLD for alert management framework
spenugondaa Aug 24, 2020
a22e632
updated the format
spenugondaa Aug 24, 2020
3f9abaa
In-band management via mgmt VRF
venkatmahalingam Aug 28, 2020
d2ab17d
Merge pull request #105 from project-arlo/in-band-mgmt
sameerdell Sep 1, 2020
0d10b37
Added details for response_type in Generic client
faraazbrcm Sep 10, 2020
ded5f74
Merge pull request #106 from project-arlo/faraazbrcm-patch-1
anand-kumar-subramanian Sep 10, 2020
7447f9d
Merge remote-tracking branch 'origin/master' into ntp_doc
Sep 21, 2020
dd2ed31
add clarification
Sep 21, 2020
86e7f0a
Developer Guide: Update DB access layer with link to HLD
a-barboza Sep 25, 2020
e29cf90
Merge pull request #107 from project-arlo/a-barboza-dg
a-barboza Sep 25, 2020
cbfbaad
Yang changes updates & show cmds spacing updates
rathnasabapathyv Oct 2, 2020
b006fd7
Merge pull request #109 from project-arlo/pim_ssm_3.x_dev
sameerdell Oct 2, 2020
8091955
Update Developer Guide.md
anand-kumar-subramanian Oct 9, 2020
ef76e9c
Update SONiC_OC_Interface_HLD.md
haemanthisree Oct 24, 2020
5a26530
Merge pull request #110 from haemanthisree/vlan_hld_update
sameerdell Oct 30, 2020
8f2bd2c
Platform HLD
GarrickHe Nov 2, 2020
d3da65e
Update Platform HLD
GarrickHe Nov 2, 2020
acc38d0
add support for NTP authentication
Nov 3, 2020
9a1f162
add support to configure multiple NTP source interfaces
Nov 9, 2020
ff218b1
Mgmt and data static routes.
smahara Nov 10, 2020
08b6583
modify Yang model and add tables in 3.2
Dec 8, 2020
a02c020
fix format
Dec 8, 2020
2fc73eb
Merge pull request #73 from project-arlo/alias-hld-br
bhavini-gada Dec 8, 2020
b000d3d
Merge pull request #69 from project-arlo/ntp_doc
bhavini-gada Dec 8, 2020
c891e79
Merge pull request #74 from project-arlo/IntfRangeHLD
bhavini-gada Dec 8, 2020
5d364ae
Merge pull request #91 from project-arlo/oc-sflow
GarrickHe Dec 30, 2020
b7c0f8c
Merge pull request #86 from project-arlo/mclag_enhance_hld
Praveen-Brcm Jan 10, 2021
f9580d7
HLD for switchport allowed VLANs config using "none", except", "all" …
Tejaswi-Goel Jan 12, 2021
7172ebe
Update test scenarios
Tejaswi-Goel Jan 30, 2021
6f95e17
Merge pull request #111 from project-arlo/mgmt_data_rt_hld
bhavini-gada Feb 4, 2021
b0bb84a
Merge pull request #113 from project-arlo/vlan-trunk-all-except-none
bhavini-gada Feb 12, 2021
69866c8
updated after internal review comments
spenugondaa Feb 26, 2021
9f656fb
updated after review comments. Updated db table names, sequence and b…
spenugondaa Mar 9, 2021
402166c
fixed a typo
spenugondaa Mar 9, 2021
1a67699
updated with oc yang tree and REST urls
spenugondaa Mar 9, 2021
d640d43
fixed a typo
spenugondaa Mar 9, 2021
585e958
added schema for EVENT_STATS and ALARM_STATS
spenugondaa Mar 9, 2021
e2dc1b0
added details on staticmap
spenugondaa Mar 10, 2021
8dbbc5e
updated the document with review comments
spenugondaa Mar 15, 2021
6d190da
Update HLD with examples when VLAN is created/deleted
Tejaswi-Goel Mar 17, 2021
cd9473b
Merge pull request #114 from project-arlo/hld-vlan-config-update
bhavini-gada Jun 15, 2021
c35c494
ROCEv2 support.
venkatmahalingam Jun 17, 2021
5e464af
HLD: shutdown support for VLAN and Loopback
Tejaswi-Goel Jun 23, 2021
59527f4
Address review comments
Tejaswi-Goel Jul 8, 2021
23a21f5
Comments addressed
venkatmahalingam Jul 16, 2021
310a8dd
add HLD for support timezone configuration
Jul 23, 2021
8048dec
Merge pull request #117 from project-arlo/vlan-loopback-shut-support
bhavini-gada Jul 27, 2021
9a0c1b3
HLD : Query parameter for get request (#115)
s-mari Jul 27, 2021
e255b17
application telemetry subscribe paths
Jul 28, 2021
d940667
Merge pull request #119 from project-arlo/telemetry_subscribe_path
bhavini-gada Jul 28, 2021
ca7021a
updates based on reviews/unit test
spenugondaa Jul 28, 2021
1d467e3
Merge pull request #90 from project-arlo/qos-mgmt-hld
bhavini-gada Jul 28, 2021
b1d0155
Comments addressed
venkatmahalingam Aug 3, 2021
a5038f2
Add more test cases for Loopback interface.
Tejaswi-Goel Aug 3, 2021
f37aff6
Merge pull request #120 from project-arlo/update-loopback-test-cases
bhavini-gada Aug 4, 2021
af5ce20
Addressed the review comments.
venkatmahalingam Aug 4, 2021
8329460
Merge pull request #116 from project-arlo/rocev2
bhavini-gada Aug 4, 2021
c629319
Merge pull request #42 from project-arlo/nat-hld
bhavini-gada Aug 4, 2021
c36d382
Merge pull request #27 from ohu1/qos-cli-hld
bhavini-gada Aug 4, 2021
c983cae
Merge pull request #104 from project-arlo/alert_framework_hld
bhavini-gada Aug 4, 2021
7e6d6b4
Initial commit for adding static-route subscribe paths
zhaozhenhong Aug 13, 2021
793fd51
Remove unsupported paths
Aug 18, 2021
cc25565
Merge pull request #122 from project-arlo/intf_subscribe
bhavini-gada Aug 19, 2021
e3c53e3
fix typo
Aug 20, 2021
874e443
1. moved date/time config to optional task section. 2. removed SONiC …
Aug 24, 2021
d79be7d
update application frontend timestamp conversion
Sep 1, 2021
1d9d244
Merge pull request #118 from project-arlo/timezone_hld
bhavini-gada Sep 2, 2021
e55c668
AAA Holdoff timer changes
asha-behera Sep 21, 2021
90a343c
removed show command 'show clock timezone' based on review comment
Sep 22, 2021
036288e
Merge pull request #124 from project-arlo/timezone_hld
bhavini-gada Oct 1, 2021
64c7bf8
Merge branch 'master' of https://github.com/project-arlo/SONiC into s…
zhaozhenhong Oct 5, 2021
26d667b
Merge pull request #123 from project-arlo/brcm_aaa_holdoff_timer
a-barboza Oct 6, 2021
d88f913
add on-change description for QoS
ohu1 Oct 6, 2021
0e61af3
Merge branch 'master' of https://github.com/project-arlo/SONiC into t…
ohu1 Oct 6, 2021
6cec50b
update the .md formatting
ohu1 Oct 6, 2021
90b2c2f
Update Developer Guide.md
anand-kumar-subramanian Oct 22, 2021
06a5f78
update the transformer section with query parameter etc. (#121)
kwangsuk Nov 2, 2021
bf528c5
Create apps_SONiC_FileSystem_HLD.md
reemus-kumar-vincent Nov 2, 2021
c5f4c24
Add files via upload
reemus-kumar-vincent Nov 2, 2021
78dcd09
Merge branch 'master' of git+ssh://github.com/project-arlo/SONiC into…
zhaozhenhong Nov 4, 2021
d9587a6
Changed according to review comment
zhaozhenhong Nov 4, 2021
0967f16
Merge pull request #127 from reemus-kumar-vincent/patch-1
reemus-kumar-vincent Nov 5, 2021
c132790
SONiC File System HLD Images
reemus-kumar-vincent Nov 10, 2021
e74a4fa
SONiC File System HLD
reemus-kumar-vincent Nov 10, 2021
1ade910
Merge pull request #125 from project-arlo/static_route_subscribe_path
bhavini-gada Nov 10, 2021
38d4b11
Merge branch 'master' into telemetry_subscribe_path
ohu1 Nov 15, 2021
5914037
Merge pull request #126 from project-arlo/telemetry_subscribe_path
bhavini-gada Nov 16, 2021
65b03c2
fix the yang path
ohu1 Nov 17, 2021
971df45
Merge branch 'master' of https://github.com/project-arlo/SONiC into t…
ohu1 Nov 17, 2021
ca2a2ad
Merge pull request #128 from project-arlo/telemetry_subscribe_path
bhavini-gada Nov 17, 2021
f808966
Update SONiC_FileSystem_HLD.md
reemus-kumar-vincent Nov 29, 2021
e6e98c4
Update apps_SONiC_FileSystem_HLD.md
reemus-kumar-vincent Nov 29, 2021
c49f204
Add v6only for BGP neighbors.
smahara Dec 2, 2021
287fda4
Get the latest HLD already approved to project-arlo.
smahara Dec 2, 2021
1bb426c
Adding the required image files.
smahara Dec 2, 2021
25054bf
Merge pull request #130 from project-arlo/bgp_v6only_update
venkatmahalingam Dec 3, 2021
aece0a5
V6only option for BGP neighbor.
smahara Dec 3, 2021
7bd8853
Update on test cases.
smahara Dec 6, 2021
5b44e36
Update test cases.
smahara Dec 7, 2021
feb8baf
Pruning API support for Query Parameters subtree callbacks
a-barboza Dec 11, 2021
d475897
Pruning API support for Query Parameters subtree callbacks (2)
a-barboza Dec 14, 2021
f961876
Pruning API support for Query Parameters subtree callbacks (3)
a-barboza Dec 17, 2021
7cbf442
Merge pull request #132 from project-arlo/qp_pruning
a-barboza Dec 28, 2021
7125d8f
Added section for Redaction API description.
a-barboza Dec 28, 2021
59d7a11
Merge pull request #134 from project-arlo/redact_api
anand-kumar-subramanian Jan 5, 2022
54c36e5
Add telemetry logging details
faraazbrcm Mar 8, 2022
349a800
PIM SM HLD
Apr 26, 2022
b3fb048
Merge pull request #131 from project-arlo/bgp_v6only_update
bhavini-gada Apr 27, 2022
a85808e
Added the missing diagrams
May 4, 2022
715da6a
Flow diagrams
May 4, 2022
e11b093
Update SONiC_PIM_SM_HLD.md
vidyac86 May 5, 2022
3ed5403
Update SONiC_PIM_SM_HLD.md
vidyac86 May 5, 2022
6148bd7
Added the DB information of SPT
vidyac86 May 5, 2022
d37b174
Updated sub interface related requirements
vidyac86 May 5, 2022
13a8acf
Updated KAT timer details
vidyac86 May 6, 2022
2135922
Replacing the KAT flow
vidyac86 May 12, 2022
b11e4f9
Syncd DS changes
vidyac86 May 12, 2022
dc4f45c
Added vendor details
vidyac86 May 12, 2022
2e5f9a9
Addressed review comments
vidyac86 May 25, 2022
e1cbcd5
DBAL: Added descriptions of ExistKeysPattern(), GetTablePattern()
a-barboza Jun 7, 2022
e5922bd
Merge pull request #138 from project-arlo/get_table_pattern
a-barboza Jun 7, 2022
ea1f48d
syncd and datastructure naming changes
vidyac86 Jun 8, 2022
afde986
Replaced mfpm with IPMC_FPM
vidyac86 Jun 9, 2022
3693d38
Merge pull request #136 from project-arlo/pim_sm_hld
bhavini-gada Jul 7, 2022
c9bdf8a
Merge pull request #129 from reemus-kumar-vincent/patch-1
bhavini-gada Jul 20, 2022
da0d692
Update Audit_Log_HLD.md
Tejaswi-Goel Aug 1, 2022
8dc99b6
Merge pull request #142 from project-arlo/update-audit-log-hld
bhavini-gada Aug 11, 2022
558a54d
HAMD RBAC HLD (#144)
Soundharya-Ramanathan Aug 24, 2022
1039cbe
Fixed the MD formatting issues in HAMD HLD (#149)
Soundharya-Ramanathan Aug 25, 2022
54d2501
Cert mgmt only (#148)
seiferteric Sep 7, 2022
00c43cc
Model-based replace operation using PUT
kwangsuk Sep 8, 2022
b38209d
add example for feature owners
kwangsuk Sep 12, 2022
55569ce
Further clarification
kwangsuk Sep 21, 2022
ae6fcde
Merge pull request #156 from project-arlo/further-clarification
kwangsuk Sep 21, 2022
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
1,014 changes: 1,014 additions & 0 deletions doc/SONiC_OC_NTP_HLD.md

Large diffs are not rendered by default.

499 changes: 499 additions & 0 deletions doc/SONiC_QoS_Mgmt_HLD-1.0.md

Large diffs are not rendered by default.

712 changes: 712 additions & 0 deletions doc/SONiC_QoS_Mgmt_HLD-1.1.md

Large diffs are not rendered by default.

730 changes: 730 additions & 0 deletions doc/VRRP_HLD_Buzznik.md

Large diffs are not rendered by default.

60 changes: 60 additions & 0 deletions doc/aaa/Persistent HTTP Connections from CLI.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
Persistent HTTP connections from CLI
====================================

The SONiC CLI provided by the management framework container runs an instance of
klish, which provides a fixed set of commands. The CLI is simply a front-end to
the REST server, and each command is mapped to a corresponding REST endpoint.

# Command Flow

When the user enters a specific command on the CLI, the corresponding `ACTION`
tag in the CLI XML specification shells out to a Python script with any
arguments and an optional template to format the returned values. This script
connects to the REST server on the local machine over HTTPS, retrieves and
formats the JSON response. The Python script then exits, terminating any HTTP
connection that had been set up.

This is the current behavior, even without RBAC support, which means that every
command will need to set up a new HTTPS connection. However, when RBAC is
enabled, it is not likely to cause a noticeable performance impact, since the
system is already incurring the TLS overhead.

As can be seen from the flow above, it is not possible to set up a persistent
HTTP connection, since every command spawns a new connection.

# Alternative Designs

This section describes some alternative designs that will enable the CLI to
create a persistent connection.

## Proxy service

As part of the management framework, we can add a "proxy" service that is
spawned with the CLI. This service will set up a secure HTTP connection for the
authenticated user, and create a local unix socket that is accessible only by
that user. The CLI XML will remain unchanged, but the Python ApiClient class
will be changed to connect to the local socket.

This will still create independent HTTP connections, but they can be insecure
connections, while the proxy service will transfer the connections from the
insecure unix socket to the secure tunnel, which will reduce the TLS connection
time.

**Note:** The security considerations have not been completely mapped out, and
this may open the system up to security holes.

## Klish modification

This approach considers modifying the Klish executable. When Klish is spawned,
it will set up the HTTPS connection and keep it alive as long as the CLI is
active. Each `ACTION` tag will call into klish functions that will connect to
the existing HTTPS connection.

This approach is the most secure option, however, it needs heavy modification to
klish, and there are several unknowns at this time.

## No modification - Buzznik

This approach leaves the design as is for the Buzznik release. Every command
will continue to create a new HTTPS connection, as it does today, and will tear
down the connection on completion of the request.
460 changes: 460 additions & 0 deletions doc/aaa/SONiC RBAC HLD.md

Large diffs are not rendered by default.

481 changes: 481 additions & 0 deletions doc/aaa/SONiC RBAC.md

Large diffs are not rendered by default.

2,632 changes: 2,632 additions & 0 deletions doc/aaa/ldap.md

Large diffs are not rendered by default.

Loading