Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
opennsa3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michal Hažlinský
opennsa3
Commits
6dcddfae
Commit
6dcddfae
authored
8 years ago
by
Henrik Thostrup Jensen
Browse files
Options
Downloads
Patches
Plain Diff
document the requirements in the install file a bit better and switch to markdown
parent
1b6fb9d6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
INSTALL
+37
-6
37 additions, 6 deletions
INSTALL
with
37 additions
and
6 deletions
INSTALL
+
37
−
6
View file @
6dcddfae
Requirements:
# OpenNSA Installation Notes
This document covers the requirements, dependencies, installation and
configuration of OpenNSA.
## Overview
OpenNSA is a single Python process that listens on one port.
It uses PostgreSQL for storage.
Requires outbound connectivity to talk to other NSI agents.
Requires access to connect to the devices to setup cross-connects.
Doesn't need to run as root.
## Requirements:
Host OS:
Ubuntu/Debian is the easiest. RedHat/Fedora will work too. I suspect you can
make it work on any Linux that can run Python 2.7 and PostgreSQL. Several
people have had it running on OS X.
It runs fine in a virtual machine. Real iron be fine as well (but a bit wasteful).
Server location:
As close to the router/device for obvious reasons, but it is not latencey
sensitive or anything. Next city should also work.
Dmz vs. behind the firewall: Should work with both, not required.
## Dependencies:
* Python 2.7 or later (Python 3 not supported yet)
...
...
@@ -23,13 +54,13 @@ remove some of the log statements in the Twisted SSH module, which is rather
noisy. This makes the log a lot easier to read.
Installation:
##
Installation:
python setup.py build
sudo python setup.py install
Database setup:
##
Database setup:
You need to have a postgresql database setup and the user should have access to
it (if you use OS access - which is the easiest - you can put whatever in the
...
...
@@ -43,14 +74,14 @@ $ psql opennsa # as the user that runs opennsa
$ \i datafiles/schema.sql
Configuration:
##
Configuration:
Edit /etc/opennsa.conf. Configuring the service is relatively straightforward,
but creating the topology specification is still somewhat tricky. Look at the
.nrm file in opennsa distribution for an example.
Command line tool:
##
Command line tool:
Make a reservation:
onsa reserve -u http://localhost:9080/NSI/services/ConnectionService -p OpenNSA-TestClient -r Aruba -s Aruba:A1 -d Aruba:A4
...
...
@@ -58,7 +89,7 @@ onsa reserve -u http://localhost:9080/NSI/services/ConnectionService -p OpenNSA-
Do a ./onsa --help for more information.
Development
##
Development
To start a test service:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment