UNPKG

@joergmittaglawo/dmvconfig

Version:

DMV Configuration scripts for Lawo V__matrix Distributed Multiviewers.

60 lines (56 loc) 1.08 kB
/** * @file The Nodes for the WDR DMV Cluster * * @version 0.0.0-alpha.0 * @date 2020-03-24 * @author Mittag, Jörg (Lawo) <joerg.mittag@lawo.com> */ /** * The number of C100 DMV Cluster Nodes for the WDR DMV Cluster * * @readonly * @constant {number} */ const NUMBER_OF_NODES = 9; /** * The Nodes for the WDR DMV Cluster * * @private * @readonly * @constant {object} */ const NODES = Array.from( { length: NUMBER_OF_NODES }, (_, node) => ( { hostname: `DMV-${node + 1}`, interfaces: { management: { back: { ip: `10.100.3.${1 + node}`, mask: 24, }, front: { ip: `10.100.2.${1 + node}`, mask: 24, }, }, media: { p1: { ip: `10.100.0.${1 + node}`, mask: 24, }, p2: { ip: `10.100.1.${1 + node}`, mask: 24, }, }, }, sdi: { in: 0, out: 0, }, } ), ); module.exports = NODES;