Juniper Networks · Schema

PhysicalInterface

AIAutomationCloudEnterpriseNetworkingSDNSecurityFortune 1000

Properties

Name Type Description
name string Interface name (e.g., ge-0/0/0)
admin-status string
oper-status string
description string
mtu integer
speed string
if-type string
link-level-type string
traffic-statistics object
logical-interface array
View JSON Schema on GitHub

JSON Schema

juniper-physicalinterface-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PhysicalInterface",
  "title": "PhysicalInterface",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Interface name (e.g., ge-0/0/0)"
    },
    "admin-status": {
      "type": "string",
      "enum": [
        "up",
        "down"
      ]
    },
    "oper-status": {
      "type": "string",
      "enum": [
        "up",
        "down"
      ]
    },
    "description": {
      "type": "string"
    },
    "mtu": {
      "type": "integer"
    },
    "speed": {
      "type": "string"
    },
    "if-type": {
      "type": "string"
    },
    "link-level-type": {
      "type": "string"
    },
    "traffic-statistics": {
      "type": "object",
      "properties": {
        "input-packets": {
          "type": "integer"
        },
        "output-packets": {
          "type": "integer"
        },
        "input-bytes": {
          "type": "integer"
        },
        "output-bytes": {
          "type": "integer"
        }
      }
    },
    "logical-interface": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "address-family": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "address-family-name": {
                  "type": "string"
                },
                "interface-address": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "ifa-local": {
                        "type": "string",
                        "description": "IP address"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}