Maintain SKU specific package content such as templates and other static files.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
arista-dcs-7124S
brocade-VDX-6740
brocade-VDX-6740T
cisco-nexus-3048TP
cisco-nexus-3172T
cisco-nexus-C3132
cisco-nexus-C3164PQ
cisco-nexus-C9332PQ
cisco-nexus-C9372PX-E
debianstatic
dell-c6320
dell-dss-9500M
dell-r630
dell-r640
dell-r730
dell-r730xd
dell-r740
quanta-d51-1u
quanta-d51-2u
quanta-t41
sinetica-hawk-i2
.bintray-deb.json
.bintray-gen.json
.travis.yml
LICENSE
README.md
build-package.bash

README.md

on-skupack

Maintain SKU specific package content such as templates and other static files.

Copyright © 2017 Dell Inc. or its subsidiaries. All Rights Reserved.

Quick Start

  • Prerequisites

    • Debian based build system or equivalent that can install the necessary dependencies (i.e. Ubuntu 12.04 & up)
    • Install the following packages (Ubuntu example):
    sudo apt-get install dh-make devscripts debhelper
    
  • Build SKU package

    • On the root directory of on-skupack repo run:
    $ ./build-package.bash <sku_pack_directory> <subname>
    Note: <sku_pack_directory> must be one of the directory names containing the node type on the root directory of on-skupack, e.g., it can be quanta-d51-1u,
    quanta-t41,dell-r630, etc, and <subname> can be any name a user likes. A {sku_pack_directory_subname}.tar.gz will be created in tarballs folder of the same directory
    
    • Example
    $ ./build-package.bash quanta-t41 master
    Note: After running this command, quanta-t41_master.tar.gz could be found at the tarballs folder which is under the root directory of on-skupack repo.
    
  • Register a new SKU with the package

    $ curl -X POST -F file=@tarballs/sku_pack_directory_subname.tar.gz localhost:8080/api/current/skus/pack
    Note: The above command will return a SKU ID. If an error like “Duplicate name found”
    is returned in place of the SKU ID, check the database (with the command:$ curl {ORA IP}:8080/api/current/skus | python -mjson.tool ) and delete
    a preexisting SKU package ( with the command: $ curl -X DELETE {ORA IP}:8080/api/current/skus/{sku id})
    
  • Please refer to SKU PACK Guide for more API commands

Licensing

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

RackHD is a Trademark of Dell EMC