GithubHelp home page GithubHelp logo

f5devcentral / big-ip-atc-ready Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 7.0 13 KB

Inspec profile to validate the readiness of the BIG-IP Automation Toolchain (ATC)

Ruby 100.00%
devops testing inspec f5-bigip test-automation

big-ip-atc-ready's Introduction

BIG-IP Automation Toolchain InSpec Profile

This InSpec profile evaluates the following:

  • basic connectivity to a BIG-IP management endpoint ('bigip-connectivity')
  • availability of the Declarative Onboarding (DO) service ('bigip-declarative-onboarding')
  • version reported by the Declarative Onboarding (DO) service ('bigip-declarative-onboarding-version')
  • availability of the Application Services (AS3) service ('bigip-application-services')
  • version reported by the Application Services (AS3) service ('bigip-application-services-version')
  • availability of the Telemetry Streaming (TS) service ('bigip-telemetry-streaming')
  • version reported by the Telemetry Streaming (TS) service ('bigip-telemetry-streaming-version')
  • availability of the F5 Application Services Templates (FAST) service ('bigip-fast')
  • version reported by the F5 Application Services Templates (FAST) service ('bigip-fast-version')
  • availability of a license on the BIG-IP ('bigip-licensed')

In order to reference the profile you can include it as a dependency in your inspec.yml file

depends:
  - name: big-ip-atc-ready
    git: https://github.com/f5devcentral/big-ip-atc-ready
    branch:  master

and indicate which controls to use in your control ruby file

# run all of the tests
require_controls 'big-ip-atc-ready' do
  control 'bigip-connectivity'
  control 'bigip-declarative-onboarding'
  control 'bigip-declarative-onboarding-version'
  control 'bigip-application-services'
  control 'bigip-application-services-version'
  control 'bigip-telemetry-streaming'
  control 'bigip-telemetry-streaming-version'
  control 'bigip-fast'
  control 'bigip-fast-version'
  control 'bigip-licensed'
end
# run some of the tests
require_controls 'big-ip-atc-ready' do
  control 'bigip-connectivity'
  control 'bigip-declarative-onboarding'
  control 'bigip-licensed'
end

or you can call it at the command line

inspec exec https://github.com/f5devcentral/big-ip-atc-ready.git

Please refer to the InSpec documentation for more elaborate variants on these use cases and further use cases not documented here.

The profile requires a set of inputs which can be provided on the command line or with an input file. We listed the necessary inputs below in a sample YAML input file

bigip_address: FQDN or ip address of the BIG-IP to test
bigip_port: the port for the BIG-IP management service, commonly 443
user: the user account with which to authenticate to the BIG-IP
password: the password to use to authenticate to the BIG-IP
do_version: the expected version of declarative onboarding
as3_version: the expected version of application services
ts_version: the expected version of telemetry streaming

Please refer to the InSpec documentation for inputs for more detail

big-ip-atc-ready's People

Contributors

codygreen avatar mjmenger avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

big-ip-atc-ready's Issues

Inspec Exec fails after removal of master branch

inspec exec https://github.com/F5SolutionsEngineering/big-ip-atc-ready.git

fails after the removal of the master branch. Documentation still also references the master branch.

I've been searching on Google for a way to specify the branch in the inspec exec command and I don't see any option that supports this... can we rename the main branch back to master?

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.