GithubHelp home page GithubHelp logo

netscaler / adc-scripts Goto Github PK

View Code? Open in Web Editor NEW
31.0 13.0 20.0 1.32 MB

Citrix ADC scripts for migrating and converting Citrix ADC configuration with deprecated features

License: Other

Perl 10.52% Shell 0.76% Python 88.72%
citrix citrixadc netscaler

adc-scripts's People

Contributors

ajitchelat avatar aman-agrawal1 avatar geethapinnaka avatar luisug avatar subashd avatar subbendumajumder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adc-scripts's Issues

authorization policies are NOT converted if nspepi should convert a whole config file

Hello,

while this syntax works fine:
./nspepi -e 'REQ.IP.DESTIP == 10.10.10.0 -netmask 255.255.255.0'
"CLIENT.IP.DST.IN_SUBNET(10.10.10.0/24)"

the processing of the config file does NOT convert authorization policies:

$ cat test.conf
add authorization policy LAN_10 "REQ.IP.DESTIP == 10.10.10.0 -netmask 255.255.255.0" ALLOW
$ ./nspepi -f test.conf -v
INFO - add authorization policy LAN_10 "REQ.IP.DESTIP == 10.10.10.0 -netmask 255.255.255.0" ALLOW

Converted config will be available in a new file new_test.conf.
Check warn_test.conf file for any warnings or errors that might have been generated.
$ cat new_test.conf
add authorization policy LAN_10 "REQ.IP.DESTIP == 10.10.10.0 -netmask 255.255.255.0" ALLOW
$ wc -l warn_test.conf
0 warn_test.conf

Please advise. Thank you!
BR
Hermann M.

Issues running the script

Resolved issues with the script by CHMOD 744 on all relevant script files. This step should be included in the README

check_invalid_config rights

When check_invalid_config is copied to /netscaler the default rights are not sufficient to run it. I used WinSCP to copy the files

Example:
root@NS01# check_invalid_config /nsconfig/ns.conf
-bash: /netscaler/check_invalid_config: Permission denied

After setting rights to 550:
root@NS01# check_invalid_config /nsconfig/ns.conf

No issue detected with the configuration.

README.md typo

The Readme file has a typo in the section "NSPEPI and check_invalid_config tools can be run on the CentOS and Ubuntu systems" - "If python3 is installed, then please create a symbolic link for python like "ln -s /usr/bin/pytho3 /usr/bin/python".

The correct command should be "ln -s /usr/bin/python3 /usr/bin/python"

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.