GithubHelp home page GithubHelp logo

fortinet-solutions-cse / ftnt-sut-manager Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 9 KB

Short for Fortinet System under test manager. Aims to build on demand a Fortinet system reusing a common license file for test(dev and CI/CD targeted)

License: MIT License

Shell 100.00%

ftnt-sut-manager's Introduction

Fortinet System under test manager

Goal have a low cost (license) and fast way to build Fortinet system for testing api based test.

Allow to test several versions and several configuration in a reproduceable manner.

Mainly used by the tests part of fortiosapi.

Usage

You must be in libvirt group

define variables for flavor and version.

export flavor=myvdom
export fgtversion=FGT-6.4.0

Optionally define

export FTNT_SUT_FGT_HOME=/home/test/ftnt-sut-manager/fortigate
export JENKINS_HOME=/home/test/temp
export BRIDGE=mybridge

Those will be set by default, if you are in fortigate subfolder:

export FTNT_SUT_FGT_HOME=$PWD/fortigate/
export JENKINS_HOME=$PWD
export BRIDGE=docker0

flavor correspond to examples in flavors folder, fortigate/versions-build.json match the FGT version to its build number. You must download from https://support.fortinet.com the KVM .zip file of the Fortigate under test and place it zipped in the version folder.

Under flavors you create check the examples for building the config, add a license file and can link in flavors/ folder to .lic. Example

cd flavors
ln -f FGVM0XXXXX.lic vdom.lic

The license file per flavor will be taken from there.

Build

ftnt-sut-manager's People

Contributors

thomnico avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.