Giter Club home page Giter Club logo

nmos-discovery-registration-ri's Introduction

nmos-discovery-registration-ri

Reference implementation of AMWA NMOS IS-04 Discovery and Registration Specification

Intoduction

This repository contains debianized NMOS API source and also a Vagrant file (plus provisioning scripts) to start a two VM NMOS cluster (one machine hosting Registration and Query APIs (hostname regquery), the other being an NMOS Node (hostname node))

Repository structure:

mdns-bridge/
    Implementation of a read only zeroconf to HTTP bridge (specifically looking for NMOS services).
    This is used by the Node API to find Registration APIs.
nmos-common/
    Debianised shared python modules across various APIs.
nmos-node/
    Debianised NMOS Node API implementation (includes a mock data provider)
nmos-query/
    Debianised NMOS Query API implementation
nmos-registration/
    Debianised NMOS Registration API implementation
reverse-proxy/
    A reverse proxy implementation to present the above microservices on port 80 paths using apache2.
vagrant/
    Vagrant file and provisioning scripts

Prerequisites

For the best experience:

First install debian packaging dependencies on the host:

sudo apt-get update
sudo apt-get install python-all debhelper pbuilder dh-python apache2-dev devscripts

[Optionally] Install vagrant proxyconf plugin if you want to easily pass host machine proxy configuration to the guest machines:

vagrant plugin install vagrant-proxyconf

[Optionally] Set environment http proxy variables (these will be passed to Vagrant VMs for use by apt and pip if Vagrant proxyconf plugin is installed):

export http_proxy=http://<path-to-your-proxy:proxy-port>
export https_proxy=https://<path-to-your-proxy:proxy-port>

Start

Now make the debian packages from source:

rd-ips-nmos-apis/$ make deb

Finally, bring up the VMs:

rd-ips-nmos-apis/$ vagrant up

This will start two Ubuntu 16.04 VMs (named 'regquery' and 'node') and run provisioning scripts to install external python dependencies and the previously built debian packages.

By default the VMs are configured share a private network with no external port forwarding. You can SSH to either of the instances, e.g.:

vagrant ssh reqquery

Once SSHd simple cURL commands will verify the operation of the APIs/registration and discovery, e.g.:

curl --noproxy localhost localhost/x-nmos/query/v1.1/nodes/

Should show the a single Node registered.

nmos-discovery-registration-ri's People

Contributors

peterbrightwell avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.