AutoGenInfra
Transcript of AutoGenInfra
1 | Infinera Confidential & Proprietary
Auto-Gen InfraTool Set to Auto Generate CO Infra code.
Ravi Raju KrishnaKarthik TarikereSatya NandAryabhata Deshpande
2 | Infinera Confidential & Proprietary
No need to copy paste existing FRU code and make necessary modifications and address compilation issues in different environ.
Time duration for CO Infra Code development for a new FRU/ flavour of an existing FRU
Advantages
Development without tool
Using Auto-Gen tool Gain
New to Infra Development
Close to 4 weeks 4*5 days*8 hours 160 hrs
Close to 1 week 5 days * 8 hours40 hrs
4 times
Expertise in Infra Development
Close to 2 weeks 2*5 days*8 hours 80 hrs
Close to 1 day8 hours
10 times
3 | Infinera Confidential & Proprietary
Currently COG, DDE, Basic HAL and Daemon code base can be auto-generated
Auto-Gen code is generated along with necessary Makefile, so the code can be compiled without any hassles of library inclusions
[local::]dbi->@showServers found with prefix [/dbi/]........... DdeMgr-1-12 xmm-1-12 xmmCog-1-12[local::]dbi->
Can be extended to support PM and Fault Manager
Features
4 | Infinera Confidential & Proprietary
If there is new flavour requirement, say xmm30, just addition of it in xml shall generate code for new flavour, leaving the existing flavour(xmm10)( which might have CO controls dev in progress) untouchedMakefile is auto-updated to include new sub-directory for compilation[local::]dbi->@show
Servers found with prefix [/dbi/]...........
DdeMgr-1-12
xmm-1-12
xmmCog-1-12
[local::]dbi->@ss xmmCog-1-12
New Server:/dbi/xmmCog-1-12
[local::/dbi/xmmCog-1-12]dbi->dog
ObjectGroup : xmmCog-1-12
UpdateSeqNum : 4
CARD
[local::/dbi/xmmCog-1-12]dbi->
Basic xml input for Daemon, Cog support
5 | Infinera Confidential & Proprietary
XML input for COG with TP support
[local::]dbi->@showServers found with prefix [/dbi/]........... DdeMgr-1-2 gmm-1-2 gmmCog-1-2[local::]dbi->@ss gmmCog-1-2New Server:/dbi/gmmCog-1-2[local::/dbi/gmmCog-1-2]dbi->dogObjectGroup : gmmCog-1-2UpdateSeqNum : 4 CARD SCGPTP[local::/dbi/gmmCog-1-2]dbi->dot CARDObject Table : CARD 1-A-2Total Objects : 1
[local::/dbi/gmmCog-1-2]dbi->dot SCGPTPObject Table : SCGPTP 1-A-2-L1 1-A-2-L2 1-A-2-L3 1-A-2-L4 1-A-2-L5 1-A-2-L6 1-A-2-L7 1-A-2-L8 1-A-2-T1 1-A-2-T10 1-A-2-T11 1-A-2-T12 1-A-2-T2 1-A-2-T3 1-A-2-T4 1-A-2-T5 1-A-2-T6 1-A-2-T7 1-A-2-T8 1-A-2-T9Total Objects : 20[local::/dbi/gmmCog-1-2]dbi->
6 | Infinera Confidential & Proprietary
Focuses on the auto generation of code for Dde Components, Dde Interfaces and Dde Manager.
For each new Dde component user requires for a particular FRU, he has to prepare a XML file consisting of “Attributes Of Interest”.
User also has option to specify any generic Dde Components like CPC, OLDP which are common across all FRU’s instead of again creating code for them.
DDE Autogen
7 | Infinera Confidential & Proprietary
DDE Attribute input
8 | Infinera Confidential & Proprietary
• User can create different Dde Interfaces, which are required by different applications.
• Here again, user has to create a XML file for each interface, which consists of “Set of Subsets of Attributes from different components”.
• Code for Dde Manager is created which installs the necessary components mentioned by user.
• Finally, code for registering the different interface's with Dde Manager and starting the Dde Manager is put in the FRU’s start module.
9 | Infinera Confidential & Proprietary
Dde Interface Input
10 | Infinera Confidential & Proprietary
Enhancements
Required application like oldp, auto_disc etc can be chosen to auto_generated or not
UI support, • To generate card.xml input file• Add DDE attributes to generate dde_attribute.xml• Drop down selection for different sync interfaces,
as attributes in it shall be subset of Dde attributes
11 | Infinera Confidential & Proprietary
Thank YouAny suggestions/questions ?