项目作者: slauger

项目描述 :
Examples for connecting to the NITRO API on a Citrix NetScaler ADC with Python
高级语言: Python
项目地址: git://github.com/slauger/python-nitro.git
创建时间: 2018-01-02T22:00:13Z
项目社区:https://github.com/slauger/python-nitro

开源协议:Apache License 2.0

下载


python-nitro

Examples for connecting to the NITRO API for the Citrix NetScaler ADC with Python (using Requests)

Config

  1. [netscaler]
  2. url = https://netscaler.customer.local
  3. verify_ssl = True
  4. username = nsroot
  5. password = nsroot

Usage

Print out all lbvservers

  1. ./cli.py get stat lbvserver

Download a file with systemfile

  1. ./cli.py get config systemfile --params 'args=filename:fullbackup.tgz,filelocation:%2Fvar%2Fns_sys_backup%2F'

Push bulk configuration

  1. ./config.py post configs/xenmobile-01.json
  2. ./config.py put configs/xenmobile-02.json

Hints