Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install netappconfigmaker

How to install netappConfigMaker

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install netappconfigmaker
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
1.5.2 Available View build log
Linux (32-bit)
1.5.2 Available View build log
Linux (64-bit)
1.5.2 Available View build log
 
Links
License
LICENSE.txt
Lastest release
version 1.5.2 on Jun 3rd, 2013

Netapp 7M configuration generator

Tags: Netapp, Configuration, XML

Version history: 1.5.2

License: GPLv3

License URL: http://www.gnu.org/licenses/gpl-3.0.html

License

Copyright (C) 2012, 2013 Shah Mohsin WAHED

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

PyPI status:

Latest PyPI version Number of PyPI downloads

Description

This script will create configuration file (".config" and ".rc") for Netapp NAS filer using Data Ontap in 7M (seven mode) based on a XML configuration file. Making it simpler to create standard and quick configs.

Project link : http://shah.nas.scripting.cloudcorner.net Donate link PayPal

Requirements / Pre-requisites

This script require:

  1. Python 2.X run on a Linux server, haven't test on windows
  2. few python libs (lxml, argparse)
  3. of course a Netapp appliance running DataOntap in 7M (work also with Netapp simulator or Netapp Edge) to test or apply your configuration.

usage

from a linux server just run:

#shell> netapp.config.maker.py -c configfile.xml

This will generate two file <hostname>.config <hostname>.rc with hostname extract from the xml file

Quick help

usage: netapp.config.maker.py [-h] -c configfile [-v]

optional arguments:

-h, --help show this help message and exit

-c configfile, --configfile configfile XML config file

-v, --vfiler vfiler config generator only

XML Configuration file

see the ConfigExample file in ./docs for more information.

.config layout

The .config file have the following layout:

Ifgroup Configuration Vlan Configuration General Options Ipspaces Configuration Interfaces Configuration Global Routes vFilers Configuration

the layout is defined in netapp.config.maker.Config.tmpl file you can rearrange it to modify the layout

.rc layout

The .rc file have the following layout:

Basic Configuration Ifgroup Configuration Vlan Configuration Interfaces Configuration Global Routes vFilers Configuration

the layout is defined in netapp.config.maker.RC.tmpl file you can rearrange it to modify the layout

Authors and Contributors

Author: Shah Mohsin WAHED | Linkedin Profile | Twitter

Thanks to David Rousseau and Timo Sugliani for encouraging me to publish my work on github and pypi :)

Support

Having trouble with this scripts, think about an evolution ? Contact me!

Donation:

Like the script? you can support my work with a donation using PayPal

Subscribe to package updates

Last updated Jun 3rd, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.