Skip to content

wystans/ovsdb-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PLVision Logo

Fast OVSDB client for node.

Prerequirements

ovsdb-client requires an opened OVS database port. In most cases it is enough to perform this action on a server side. This will open OVSDB port in passive mode on port 6640 (OVSDB default).

 $ sudo ovs-vsctl set-manager ptcp:6640 

Installation using npmjs

 $ npm install --save ovsdb-client

Installation from Github

 $ git clone https://github.com/PLVision/ovsdb-client.git
 $ cd ovsdb-client
 $ npm install

Sample usage

Retrieve schame for table 'Ports' from OVS database.

 var client = require('ovsdb-client');
 var db_name = 'Open_vSwitch';
 var table_name = 'port'
 // retrieve 'Port' table schema from OVS Database
 var table = client.db_schema(db_name).tables[table_name];
 console.log(json.stringify(table));

People

Copyright (c) 2014-2017 PLVision Authors of ovsdb-client are Ihor Chumak and Roman Gotsiy (developers@plvision.eu). Maintainer: Ihor Chumak (developers@plvision.eu)

License

MIT

About

An OVS database client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%