Package: netappConfigMaker
Netapp 7M configuration generatorTags: Netapp, Configuration, XMLVersion history: 1.5.5License: GPLv3License URL:http://www.gnu.org/licenses/gpl-3.0.htmlLicenseCopyright (C) 2012, 2013  Shah Mohsin WAHEDThis 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:DescriptionThis 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.netDonate linkPayPalRequirements / Pre-requisitesThis script require:Python 2.X or 3.X (using netapp.config.maker.py3) run on a Linux server or workstation, haven’t test on windowsfew python libs (lxml, argparse)of course a Netapp appliance running DataOntap in 7M (work also with Netapp simulator or Netapp Edge) to test or apply your configuration.usagefrom a linux server  just run:#shell> netapp.config.maker.py -c configfile.xmlThis will generate two file <hostname>.config <hostname>.rc with hostname extract from the xml file
Use netapp.config.maker.py3 for python3 :)Quick helpusage: 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 onlyXML Configuration filesee the ConfigExample file in ./docs for more information..config layoutThe .config file have the following layout:Ifgroup Configuration
Vlan Configuration
General Options
Ipspaces Configuration
Interfaces Configuration
Global Routes
Global options (dns, autosupport, snmp)
vFilers Configurationthe layout is defined in netapp.config.maker.Config.tmpl file you can rearrange it to modify the layout.rc layoutThe .rc file have the following layout:Basic Configuration
Ifgroup Configuration
Vlan Configuration
Interfaces Configuration
Global Routes
Global options (dns, autosupport, snmp)
vFilers Configurationthe layout is defined in netapp.config.maker.RC.tmpl file you can rearrange it to modify the layoutAuthors and ContributorsAuthor:Shah Mohsin WAHED|Linkedin Profile|TwitterThanks to David Rousseau and Timo Sugliani for encouraging me to publish my work on github and pypi :)
Thanks to Barnabe Gaillard for config testingSupportHaving trouble with this scripts, think about an evolution ? Contact me!Donation:Like the script? you can support my work with a donation usingPayPalChangelogv1.5.5 - 2013-09-21First step in converting script to python3. Basic conversion thanks to 2to3. Will be optimize for python3.v1.5.4 - 2013-09-18Adding generating options like : dns, smnp, autosupport, ntp. check Xml example file for more detailAdding variable in python script to define aggregate for vfiler root volumev1.5.3 - 2013-09-17Fixing interfaces names, now vm1-e1b2c instead vm1-e1be2c.Fixing vfiler0 interfaces configurationsAdding <lb></lb> tag in interfaces configuration to add loadbalancing mode rr/mac/portv1.5.0 - 2013-05-31Fixing path probleme of template filev1.1.0 - 2013-05-31Moving from static .config and .rc layout to cheetah template to allow modification of the layout and comment add in .rc and .config outputv1.0.0 - 2013-04-02Initial release