---------------------------------------------------------------
Copyright (c) 2015 Arista Networks, Inc.  All rights reserved.
Arista Networks, Inc. Confidential and Proprietary.
---------------------------------------------------------------

============================================================
Using geniso.py script to generate CVP configuration.

How to generate the cdrom image which can be used to configure single and
multinode CVP installation.
============================================================

Introduction
------------

CVP VM can be configured in two ways:
* With a cdrom mounted in the VM at boot
* Using cvpShell, a program you run on the VM after it is booted up

Requirements
------------

You will need python2, version 2.7 or higher. You will also need mkisofs
binary to be available. geniso.py needs to find configParser.py to import. It
is shipped with geniso. Either the working directory should be same as geniso
or PYTHONPATH should be set to the dir where configParser.py is present.

YAML config
-----------

The configuration for initializing CVP vm[s] is passed to geniso.py via a yaml
configuration file. You can find sample configuration files for single and
mulitnode as singlenode.yaml and multinode.yaml. These sample configs are self
documenting.

Command line parameters
-----------------------

The only required parameter is the yaml config file path. You can optionally
provide the directory to place the generated iso. If it is not given, a new
directory of the form - cvp.iso.<date-time> - will be created and the isos
placed there. If the optional root password is specified, you will be prompted
for a password. There is no strength checking done for the password.


============================================================
Python CVP API and tools

Python wrapper around CVP's HTTP/JSON API
============================================================

Introduction
------------

CVP has a HTTP/JSON RPC interface which allows common tasks on CVP to be
performed outside of the Web UI. We also provide a Python library wrapper
around that interface.

Files
-----
* API Files
  cvp.py
  cvpServices.py
  errorCodes.py

* Sample code
  cvptool.py

* Docs
  README-Python-API.txt
  CloudVisionPortal-Python-API-<version>.pdf

Docs
-----

README-Python-API.txt explains at a high level what the Python API is. 
CloudVisionPortal-Python-API*.pdf is the detailed documentation of the API.
This can be interactively accessed from the python interpreter

>>> import cvp
>>> help(cvp)
