Skip to content

A tool to generate fake NMOS nodes for general or scale testing of an AMWA IS-04 registry. Written in go.

Notifications You must be signed in to change notification settings

isaacgr/nmos-node-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NMOS Node Generator

A tool to generate fake NMOS nodes for general or scale testing of a registry. Written in go.

Download

http://dev.irowell.io/nmos-node-generator/

Example usage

./nmos-node-generator --config config.json

Command line arguments

-config string
        Conifg file containing resource generation info (default "config.json")
-random-device-uuid
        Whether to use a random UUID for the device or not (default true)
-random-resource-uuid
        Whether to use a random UUID for the device resources or not (default true)

The config file should have a syntax similar to below

Use port 443 for https requests

{
  "registry": {
    "ip": "10.2.0.10",
    "port": 8090,
    "scheme": "http",
    "version": "v1.3"
  },
  "resource": {
    "nodes": {
      "count": 1,
      "num_interfaces": 2,
      "name_prefix": "evNode",
      "attached_network_devices": [
        {
          "chassis_id": "2c-dd-e9-49-2d-8e",
          "port_id": "Ethernet1/1"
        },
        {
          "chassis_id": "2c-dd-e9-49-2d-8e",
          "port_id": "Ethernet2/1"
        }
      ]
    },
    "devices": 1,
    "name_prefix": "evDevice",
    "sources": {
      "generic": {
        "count": 1,
        "flows": {
          "media_type": "raw",
          "sender": {
            "iface": [1, 2]
          }
        }
      },
      "audio": {
        "count": 1,
        "flows": {
          "media_type": "audio/L16",
          "sender": {
            "iface": [1, 2]
          }
        }
      },
      "data": {
        "count": 1,
        "flows": {
          "media_type": "smpte291",
          "sender": {
            "iface": [1, 2]
          }
        }
      }
    },
    "receivers": {
      "video": {
        "count": 1,
        "iface": [1, 2],
        "media_type": "raw"
      },
      "audio": {
        "count": 1,
        "iface": [1, 2],
        "media_type": "audio/L16"
      },
      "data": {
        "count": 1,
        "iface": [1, 2],
        "media_type": "smpte291"
      }
    }
  }
}

About

A tool to generate fake NMOS nodes for general or scale testing of an AMWA IS-04 registry. Written in go.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published