Skip to main content

Netapp 7Mode Configuration generator based on a XML configuration file.

Project description

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 :) Thanks to Barnabe Gaillard for config testing

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netappConfigMaker-1.5.4.tar.gz (21.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page