Modifying BOM.json files

[root@cx-node1 cx-node]# mv customer-install-1.2.0-76832968-AV1711CKH00061.fw customer-install-1.2.0-76832968-AV1711CKH00061.tar.gz

[root@cx-node1 cx-node]# mkdir customer-install-1.2.0-76832968-AV1711CKH00061

[root@cx-node1 cx-node]# cd customer-install-1.2.0-76832968-AV1711CKH00061

[root@cx-node1 customer-install-1.2.0-76832968-AV1711CKH00061]# tar xvzf ../customer-install-1.2.0-76832968-AV1711CKH00061.tar.gz

snconnect/

snconnect/updates-connect.tar.gz.enc

snconnect/version-connect.json

snconnect/bom.json

snconnect/version-bootstrap.json

[root@cx-node1 customer-install-1.2.0-76832968-AV1711CKH00061]# cd snconnect/

[root@cx-node1 snconnect]# vi bom.json

 

NOTE:

 

Change port-count from 4 to 2:

 

        {

            "quantity": 1,

            "item-description": "XCELLIS WORKFLOW DIRECTOR,HBA,16GB FC,QUAD-PORT,LOW PROFILE",

            "product-line": "Xcellis",

            "item-tier-1": "Component\/Feature",

            "type": "FC Card",

            "speed-gbps": 16,

            "port-count": 4

        }

 

To this:

 

 

        {

            "quantity": 1,

            "item-description": "XCELLIS WORKFLOW DIRECTOR,HBA,16GB FC,QUAD-PORT,LOW PROFILE",

            "product-line": "Xcellis",

            "item-tier-1": "Component\/Feature",

            "type": "FC Card",

            "speed-gbps": 16,

            "port-count": 2

        }

 

 

 

 

[root@cx-node1 snconnect]# cd ..

[root@cx-node1 customer-install-1.2.0-76832968-AV1711CKH00061]# tar cvzf ../customer-install-1.2.0-76832968-AV1711CKH00061.tar.gz snconnect

snconnect/

snconnect/bom.json

snconnect/updates-connect.tar.gz.enc

snconnect/version-bootstrap.json

snconnect/version-connect.json

[root@cx-node1 customer-install-1.2.0-76832968-AV1711CKH00061]# cd ..

 [root@cx-node1 cx-node]# mv customer-install-1.2.0-76832968-AV1711CKH00061.tar.gz customer-install-1.2.0-76832968-AV1711CKH00061.fw



This page was generated by the BrainKeeper Enterprise Wiki, © 2018