NetworkBodySpec – Infra API – MediaKind

NetworkBodySpec

This documentation covers the specifications and requirements for the Network Body.

Overview

The NetworkBodySpec outlines the structure, expected fields, and data types that can be used within the network body.

Components

Nodes Structure

Each node contains:

Example JSON Structure

{
  "networkId": "12345",
  "networkName": "Main Network",
  "nodes": [
    {
      "nodeId": "node1",
      "nodeType": "router",
      "status": "active"
    },
    {
      "nodeId": "node2",
      "nodeType": "switch",
      "status": "inactive"
    }
  ]
}

Conclusion

This specification serves as a guideline for developers to structure their network data accurately.