Getting ready

You may download the relevant software bundle of Juniper Contrail Server Manager from http://www.juniper.net/support/downloads/?p=contrail#sw and install the Contrail Server Manager or Server Manager Lite directly from the command (after replacing with the relevant file number):

$ sudo dpkg -i contrail-server-manager-installer_2.22~juno_all.deb

More installation instructions can be found at https://www.juniper.net/documentation/en_US/contrail4.0/topics/concept/install-containers-smlite.html.

You may also seek a slot to test Juniper Contrail cloud automation platform and AppFormix cloud operations optimization tool in a sandbox environment from http://www.juniper.net/us/en/cloud-software/trial/ for free as shown here in the following screenshot:

Reserve Your Slot at Juniper!

A sandbox user guide can be found at http://www.juniper.net/documentation/cloud-software/ContrailSandbox-UserGuide.pdf.

In this recipe, we will look deep into the Python source code repository of the server manager. You may configure the Contrail Server Manager through the following commands.

First checkout the source code from the code repository:

$ git clone https://github.com/Juniper/contrail-server-manager.git

Now build and install it through the setup script:

$ cd contrail-server-manager/
$ python setup.py build
$ sudo python setup.py install

You may receive help by using the following command:

$ sudo python setup.py -help

You may receive instruction specific help using the --help flag following a command. For example, to receive installation specific commands, use the following command:

$ python setup.py install --help
/usr/local/lib/python2.7/dist-packages/setuptools/dist.py:333: UserWarning: Normalizing '0.1dev' to '0.1.dev0'
normalized_version,
Common commands: (see '--help-commands' for more)
    
setup.py build      will build the package underneath 'build/'
setup.py install    will install the package
    
Global options:
--verbose (-v)  run verbosely (default)
--quiet (-q)    run quietly (turns verbosity off)
--dry-run (-n)  don't actually do anything
--help (-h)     show detailed help message
--no-user-cfg   ignore pydistutils.cfg in your home directory
    
Options for 'install' command:
--prefix                     installation prefix
--exec-prefix                (Unix only) prefix for
platform-
specific files --home (Unix only) home directory
to install
under --user install in user site-package '/home/pradeeban/.local/lib/python2.7/site-packages' --install-base base installation directory (instead of --prefix or --home) --install-platbase base installation directory for platform-specific files (instead of --exec-prefix or --home) --root install everything relative to this alternate root directory --install-purelib installation directory for pure Python module distributions --install-platlib installation directory for non-pure module distributions --install-lib installation directory for all module distributions (overrides --install-purelib and --install-platlib) --install-headers installation directory for C/C++ headers --install-scripts installation directory for Python scripts --install-data installation directory for data files --compile (-c) compile .py to .pyc [default] --no-compile don't compile .py files --optimize (-O) also compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0] --force (-f) force installation (overwrite any existing files) --skip-build skip rebuilding everything (for testing/debugging) --record filename in which to record list of installed files --install-layout installation layout to choose (known values: deb, unix) --old-and-unmanageable Try not to use this! --single-version-externally-managed used by system package builders to create 'flat' eggs usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.125.227