Code Monkey home page Code Monkey logo

f5-bigipct's Introduction

f5ltm

  • Bulk upload configuration parameters to f5 bigip
  • Read f5 bigip configuration to excel

Basic Usage

Installation

git clone https://github.com/lefeck/f5ltm.git

view excel sheet

You should customize the value in the cell according to the header specified by the excel sheet, and make sure it is correct. As shown in the following excel sheet:

img

Reading spreadsheet to f5 bigip

The following constitutes the bare to read a spreadsheet document.

[root@localhost ~]# ./f5-bigipct -h                 
NAME:
   f5-bigipct - f5-bigipct controls the f5 bigip devices.
USAGE:
   f5-bigipct [global options] command [command options] [arguments...]

VERSION:
   2.0

AUTHOR:
   Johnny Wilson <[email protected]>

COMMANDS:
   import   
   export   
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

johnny@Host-By f5ltm % ./ltm import -h
NAME:
   f5-bigipct import

USAGE:
   f5-bigipct import [command options] [arguments...]

DESCRIPTION:
   Read the excel configuration and load it to the f5 device

OPTIONS:
   --file value, -f value      This file is used for read or write operations. (default: "./ltm.xlsx")
   --host value, -a value      Enter the address to connect to the remote host. (default: "127.0.0.1")
   --password value, -p value  Password to connect to the remote host. (default: "admin")
   --sheet value, -s value     The table name of the workbook. (default: "Sheet1")
   --username value, -u value  Username to connect to the remote host. (default: "admin")

[root@localhost ~]# ./f5-bigipct import -a 192.168.10.84 -f ./create.xlsx
virtualserver name Vs_GZGL_APP_18080 create success.
virtualserver name Vs_GZGL_APP_8080 create success.
virtualserver name Vs_GZGL_APP_9000 create success.
virtualserver name Vs_GZGL_APP_9888 create success.

Read f5 bigip configuration to excel sheet

[root@localhost ~]# ./f5-bigipct export -h
NAME:
   f5-bigipct export

USAGE:
   f5-bigipct export [command options] [arguments...]

DESCRIPTION:
   Read f5 device data and write to excel sheet

OPTIONS:
   --file value, -f value      This file is used for read or write operations. (default: "./ltm.xlsx")
   --host value, -a value      Enter the address to connect to the remote host. (default: "127.0.0.1")
   --password value, -p value  Password to connect to the remote host. (default: "admin")
   --sheet value, -s value     The table name of the workbook. (default: "Sheet1")
   --username value, -u value  Username to connect to the remote host. (default: "admin")

[root@localhost ~]# ./f5-bigipct export -a 192.168.10.84 -f ./create.xlsx

view excel sheet

img

f5-bigipct's People

Contributors

lefeck 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.