UNPKG

ovsdb-js

Version:

A node.js library implementation of the ovsdb protocol.

47 lines (44 loc) 1.09 kB
exports.monitorRequests = function(){ addBr: // Bridge: [{ // columns: ["port", "datapathid"], // select: { // initial: true, // insert: true, // delete: true, // modify: true // } // }] return { return { columns: [], select: { initial: false, insert: false, delete: false, modify: false } }; }; exports.monitorBridges = function(){ return { Port: { columns: ['interfaces', 'name', 'tag', 'trunks'] }, Manager: { columns: ['is_connected','target'] }, Interface: { columns: ['name','options','type'] }, Bridge: { columns: ['controller','fail_mode','name','ports'] }, Controller: { columns: ['is_connected','target'] }, Open_vSwitch: { columns: ['bridges','cur_cfg','manager_options','ovs_version'] } }; };