RE: SONiC community meeting 4/18 - agenda and meeting notes

75 views
Skip to first unread message

Xin Liu (CLOUD)

unread,
Apr 16, 2019, 8:28:32 PM4/16/19
to OCP-Net...@ocp-all.groups.io, sonicp...@googlegroups.com, Michael Schill, Ben Gale, Madhu Pal

Here is the OCP call MoM 04/16/2019. Thanks to Madhu who took the notes.

 

Topics Discussed :

 ZTP Feature Proposal - Broadcom (Rajendra)

Discussed on ZTP flexible and customizable framework for SONiC. We did discussed on the previous PR#281 concerns and solutions for it. 

 

Q&A

  • For ZTP in-band service, does switch mode L3 is mandatory?  Not necessarily, you can run either l2 mode or l3 mode (for l2 mode, to avoid flooding the dhcp discovery by configuring unique vlan configured on each front panel port)
  • Does ZTP use special SAI API? No. ztp service make use of config_db.json and add ztp_preset config (ports/metadata etc)on top of it.  Ex: port tables creates netdev in sonic kernel.
  • if ZTP found the sku is different from config ? how does it fetch ?- Information fetch from platform directories.
  • For inband-ztp, does it need to enable ztp service on all ports ?  yes, to know the dhcp server  
  • How does ztp proposal encryption works? Keys generated by User and stored one set in the switch build, other stored in server side, ztp service validates it. 
  • Can ZTP inband disabled for security reasons ? yes, it's recommend on management/out of bound interface, you can enable inband only when we have greater control over network. 
  • Why not ZTP service follow python 3? Broadcom team will come back on it. [using py2.7 has wide lib support]
  • Does ZTP service needs order or does it blocks any services during its execution ? No, currently start after database service  and not block other service.
  • What are the error scenarios where we might run ZTP? ex: no config_db.json present, 
  • How does  ztp service know which version is running? Community suggested version field as part  switch identifier
  • Does this proposal have any fall back mechanism? yes,  user could extend his logic using this framework 
  • Does current ZTP proposal provides pre-conditions to run/re-run ZTP service ? yes - use could define the workflow 
  • Is the proposal provides error visibility to user ? yes - success/failure to the user who runs the ztp service 
  • How ZTP service available to the user ? Is it dockers ? no available natively 
  • How does the ZTP feature availability to SONiC? In  phase 1 & phase 2 

 

Action Items on Broadcom

  • Community requested the Broadcom to describe ztp service other services 
  • Community request more details on Inband-ZTP to the proposal 
  • When does sonic ztp encryption available Sonic ? Phase 2 

Others/Announcements

  • Checkout OCP upcoming events for tech days.
  • OCP tech days in May & June Nation wideTaiwan May 30th June 25th Beizing & June 27th - Japan 
  • 2019 Apr & Aug release - release planning and reviewing user requirements/proposals till end of April 

 

Thanks,

Xin

 

 

 

-----Original Appointment-----
From: Xin Liu (CLOUD) <xin...@microsoft.com>
Sent: Monday, April 15, 2019 12:17 AM
To: 'sonicp...@googlegroups.com'; OCP-Net...@OCP-All.groups.io; Michael Schill; Ben Gale
Subject: [OCP-Networking] SONiC community meeting 4/18
When: Tuesday, April 16, 2019 8:00 AM-9:00 AM (UTC-08:00) Pacific Time (US & Canada).
Where: https://global.gotomeeting.com/join/507645837

 

Add a SONiC community  session this week.

2nd iteration on ZTP (Zero Touch Deployment) discussion.

 

Thanks

Xin

rajendra....@broadcom.com

unread,
Apr 29, 2019, 1:51:02 PM4/29/19
to sonicproject
Hi,

Thanks for participating in the ZTP design discussion. An updated revision (v0.2) of the discussed ZTP HLD has been uploaded to PR#345. The document can be accessed over here. Please review the same and let me know your comments. 

Following are important changes made to the design:

1. Sections 3.6 Provisioning over in-band network and 3.7 Component Interactions  have been added to provide requested details.

2. A new object has been defined suspend-exit-code which allows user to specify which exit code to be used to allow a provisioning script to suspend and resume at a later point. Earlier suggested fixed "-1" exit code is not possible as exit code of -1 is invalid.

3. Few short-hand notations are now possible while writing the ZTP JSON to make it more user friendly. 

e.g

 "url" : "http://192.168.1.1/a.txt"  

has same meaning as
  "url" : {
     "source" : "http://192.168.1.1/a.txt"
  } 

4. A test plan has been covering various scenarios possible during ZTP.

5. A new command "ztp run" has been added to allow user to restart ztp instead of tying it with "ztp enable" command which enables ZTP administrative mode.

6. SONiC version is  added as one of the switch identifier. 


Thanks & Regards,
Rajen
Reply all
Reply to author
Forward
0 new messages