Yuma Installation Guide

 

 

 

YANG-Based Unified Modular Automation Tools

 

 

YUMA Package Installation

 

Version 1.15

 

Last Updated: July 20, 2011

Table Of Contents

Yuma Installation Guide

1  Preface

1.1  Legal Statements

1.2  Additional Resources

1.2.1  WEB Sites

1.2.2  Mailing Lists

1.3  Conventions Used in this Document

2  Introduction

2.1  Intended Audience

3  Installation Requirements

3.1  Supported Platforms

3.2  External Packages

3.2.1  libxml2

3.2.2  ncurses

4  Quick Installation

4.1  Ubuntu

4.1.1  External Libraries

4.1.2  Install the Yuma Package

4.2  Fedora

4.2.1  External Libraries

4.2.2  Install the Yuma Package

5  Installed Files

6  Next Steps

6.1  More Documentation

6.2  Running the Yuma Programs

6.2.1  yangcli, yangdump, yangdiff

6.2.2  netconfd and netconf-subsystem

 

1 Preface

1.1 Legal Statements

Copyright 2009 - 2011,  Andy Bierman,  All Rights Reserved.

1.2 Additional Resources

Other documentation includes:

Yuma  Quickstart Guide

Yuma User Manual

Yuma netconfd  Manual

Yuma yangcli Manual

Yuma  yangdiff Manual

Yuma  yangdump Manual

Yuma Developer Manual

 

To obtain additional support you may join the yuma-users group on sourceforge.net and send email to this e-mail address:

yuma-users@lists.sourceforge.net

 

The SourceForge.net Support Page for Yuma can be found at this WEB page:

http://sourceforge.net/projects/yuma/support

 

There are several sources of free information and tools for use with YANG and/or NETCONF.

The following section lists the resources available at this time.

1.2.1 WEB Sites

1.2.2 Mailing Lists

1.3  Conventions Used in this Document

The following formatting conventions are used throughout this document:

 

Documentation Conventions

 

Convention

Description

--foo

CLI parameter foo

<foo>

XML parameter foo

foo

yangcli command or parameter

$FOO

Environment variable FOO

$$foo

yangcli global variable foo

some text

Example command or PDU

some text

Plain text

 

2 Introduction

graphics3

 

Refer to section 3 of the Yuma User Manual for a complete introduction to Yuma Tools.

This section focuses on the client and server tools within the Yuma Tools programs.

2.1 Intended Audience

This document is intended for users of the Yuma Tools NETCONF client and server programs.  It covers the installation of the Yuma Tools package.

3 Installation Requirements

The following requirements must be met for Yuma Tools to be installed.

3.1 Supported Platforms

The following platforms are supported at this time for the Yuma binary package:

3.2 External Packages

The following programs and libraries need to be available for Yuma Tools to work.

3.2.1 libxml2

The libxml2 package is needed by the yuma package for some of the XML parsing functions.

3.2.2 ncurses

The ncurses library is needed by the yuma package for some terminal support.

It is not needed on Ubuntu versions of Yuma Tools because it is statically linked.

 

4 Quick Installation

This section describes how to use the platform package manager program to install the Yuma Tools programs.

4.1 Ubuntu

4.1.1 External Libraries

First, make sure the external libraries are installed.

 

mydir> dpkg --list libxml2

 

If the library is installed, the status will show 'ii libxml2', as in the example below:

 

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name           Version        Description

+++-==============-==============-============================================

ii  libxml2        2.7.6.dfsg-1ub GNOME XML library

mydir>

 

If the libxml2 library is not installed, then install it with following command:

 

mydir> sudo apt-get install libxml2

4.1.2 Install the Yuma Package

Next, install the Yuma Tools package.  Here is an example.

The actual hardware platform identifier may be different:

 

 

mydir> sudo dpkg -i yuma-1.13-3.u1004.i386.deb

 

 

4.2 Fedora

4.2.1 External Libraries

First, make sure the external libraries are installed.

 

mydir> rpm -q libxml2 ncurses

 

If the packages are installed then a line will be printed for each package showing the version, such as in the following example (your versions may be different)

 

libxml2-2.7.6-2.fc12.i686

ncurses-5.7-3.20090207.fc12.i686

 

If a package is not already installed, then install it.  This example shows how to install both external libraries:

 

mydir> sudo yum install libxml2 ncurses

4.2.2 Install the Yuma Package

Next, install the Yuma Tools package.  Here is an example.

The actual yuma revision and hardware platform may be different:

 

 

mydir> sudo yum localinstall yuma-1.13-3.fc12.i686.rpm

 

 

5 Installed Files

This section describes all the files and/or directories installed by Yuma Tools.

 

6 Next Steps

6.1 More Documentation

 

The unix 'man' program can be used to get documentation about each program.  For example:

Each program also has extensive help information available with the --help CLI parameter.  For example:

6.2 Running the Yuma Programs

6.2.1 yangcli, yangdump, yangdiff

If you are just using the Yuma client applications, then there is no further mandatory setup required.

 

6.2.2 netconfd and netconf-subsystem

The Yuma server does not automatically start running when installed.  This will be supported in a future release.

The following steps must be taken to start the netconfd server:


Port 22

Port 830

Subsystem netconf /usr/sbin/netconf-subsystem

 

 

 


mydir> /usr/sbin/netconfd --log=$HOME/mylog &

 

 


Fedora 12 version

mydir> sudo  /etc/rc.d/init.d/sshd restart

 


Ubuntu 9.10 version:

mydir>
sudo  /etc/init.d/ssh restart