openBackhaul / MicroWaveDeviceInventory

Physical and logical inventory of the MW SDN Domain
Apache License 2.0
5 stars 1 forks source link

test_v1.1.3: ethernet container API throws '401 unauthorised'. #912

Closed Ziabatcha closed 5 months ago

Ziabatcha commented 5 months ago

Tag [test_v1.1.3]

Operation key is intact ( operation key not yet provided) but still ethernet container API throws '401 unauthorised'.

All other interfaces ( AIR, WIRE, HYBRID, Pure Ethernet Structure works) Issue observing in live and cache

http://xxx:xxx/core-model-1-4:network-control-domain=cache/control-construct=513250006/logical-termination-point=LTP-ETC-TTP-ODU-A/layer-protocol=LP-ETC-TTP-ODU-A/ethernet-container-2-0:ethernet-container-pac/ethernet-container-capability

{
  "code": 401,
  "message": "unauthorized",
  "errors": [
    {
      "path": "/core-model-1-4:network-control-domain=cache/control-construct={mountName}/logical-termination-point={uuid}/layer-protocol={localId}/ethernet-container-2-0:ethernet-container-pac/ethernet-container-capability",
      "message": "unauthorized"
    }
  ]
}
Ziabatcha commented 5 months ago

Issue not observed with latest package test_v1.1.5. Hence closing the issue.


http://xx:xx/core-model-1-4:network-control-domain=cache/control-construct=xx/logical-termination-point=LTP-ETHERNETCONTAINER-TTP-5-2/layer-protocol=LP-ETHERNETCONTAINER-TTP-5-2/ethernet-container-2-0:ethernet-container-pac/ethernet-container-status

{
  "ethernet-container-2-0:ethernet-container-status": {
    "errored-frames-input": 0,
    "total-bytes-output": "2769",
    "total-bytes-input": "2769",
    "bundling-is-up": false,
    "broadcast-frames-output": 39,
    "interface-status": "ethernet-container-2-0:INTERFACE_STATUS_TYPE_DOWN",
    "loop-back-kind-up": "ethernet-container-2-0:LOOP_BACK_TYPE_NONE",
    "remote-site-is-faulty": true,
    "unicast-frames-input": "0",
    "total-frames-output": "39",
    "frames-of-1024-to-1518-byte": "0",
    "unicast-frames-output": "0",
    "fragmented-frames-input": 0,
    "timestamp": "2024-04-05T06:33:47+00:00",
    "dropped-frames-input": 0,
    "frames-of-65-to-127-byte": "39",
    "broadcast-frames-input": 39,
    "last-10-sec-data-output-rate": -1,
    "performance-monitoring-is-up": true,
    "errored-frames-output": -1,
    "frames-of-128-to-255-byte": "0",
    "multicast-frames-input": 0,
    "frames-of-64-byte": "0",
    "dropped-frames-output": 2,
    "frames-of-512-to-1023-byte": "0",
    "frames-of-256-to-511-byte": "0",
    "multicast-frames-output": 0,
    "total-frames-input": "39",
    "forwarded-frames-input": "-1",
    "last-10-sec-data-input-rate": -1,
    "forwarded-frames-output": "-1",
    "statistics-is-up": false
  }
}
http://xx:xx/core-model-1-4:network-control-domain=cache/control-construct=xx/logical-termination-point=LTP-ETHERNETCONTAINER-TTP-5-2/layer-protocol=LP-ETHERNETCONTAINER-TTP-5-2/ethernet-container-2-0:ethernet-container-pac/ethernet-container-configuration

{
  "ethernet-container-2-0:ethernet-container-configuration": {
    "maximum-burst-size": 2756,
    "statistics-is-on": true,
    "qos-profile": "-1",
    "performance-monitoring-is-on": true,
    "maximum-information-rate": 3000,
    "bundling-is-on": false,
    "ingress-policing-profile": "4294967295",
    "egress-shaping-is-on": true,
    "loop-back-kind-on": "ethernet-container-2-0:LOOP_BACK_TYPE_NONE",
    "fec-interleaver-depth": "ethernet-container-2-0:FEC_INTERLEAVER_DEPTH_TYPE_NOT_YET_DEFINED",
    "interface-name": "Interface name not yet defined.",
    "fec-redundancy-size": "ethernet-container-2-0:FEC_REDUNDANCY_SIZE_TYPE_NOT_YET_DEFINED",
    "fec-interleaver-kind": "ethernet-container-2-0:FEC_INTERLEAVER_KIND_TYPE_NOT_YET_DEFINED",
    "encryption-is-on": false,
    "header-compression-kind": "none",
    "maintenance-timer": 0,
    "fec-word-size": -1,
    "cryptographic-key": "Cryptographic key not yet defined.",
    "scheduler-profile": "-1",
    "explicit-congestion-notification-is-on": false,
    "fec-is-on": false,
    "interface-is-on": false,
    "queue-behavior-list": [
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_ASSURED_FORWARDING_QUEUE2",
        "queue-depth": -1,
        "weighting": -1,
        "scheduler-kind": "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED",
        "dropping-behavior-kind": "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_NOT_YET_DEFINED"
      },
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_ASSURED_FORWARDING_QUEUE1",
        "queue-depth": -1,
        "weighting": -1,
        "scheduler-kind": "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED",
        "dropping-behavior-kind": "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_NOT_YET_DEFINED"
      },
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_BEST_EFFORT_QUEUE",
        "queue-depth": -1,
        "weighting": -1,
        "scheduler-kind": "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED",
        "dropping-behavior-kind": "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_NOT_YET_DEFINED"
      },
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_CLASS_SELECTOR_QUEUE6",
        "queue-depth": -1,
        "weighting": -1,
        "scheduler-kind": "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED",
        "dropping-behavior-kind": "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_NOT_YET_DEFINED"
      },
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_CLASS_SELECTOR_QUEUE7",
        "queue-depth": -1,
        "weighting": -1,
        "scheduler-kind": "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED",
        "dropping-behavior-kind": "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_NOT_YET_DEFINED"
      },
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_ASSURED_FORWARDING_QUEUE4",
        "queue-depth": -1,
        "weighting": -1,
        "scheduler-kind": "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED",
        "dropping-behavior-kind": "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_NOT_YET_DEFINED"
      },
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_EXPEDITED_FORWARDING_QUEUE",
        "queue-depth": -1,
        "weighting": -1,
        "scheduler-kind": "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED",
        "dropping-behavior-kind": "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_NOT_YET_DEFINED"
      },
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_ASSURED_FORWARDING_QUEUE3",
        "queue-depth": -1,
        "weighting": -1,
        "scheduler-kind": "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED",
        "dropping-behavior-kind": "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_NOT_YET_DEFINED"
      }
    ]
  }
}
http://xx:xx/core-model-1-4:network-control-domain=cache/control-construct=513250004/logical-termination-point=LTP-ETHERNETCONTAINER-TTP-5-2/layer-protocol=LP-ETHERNETCONTAINER-TTP-5-2/ethernet-container-2-0:ethernet-container-pac/ethernet-container-capability

{
  "ethernet-container-2-0:ethernet-container-capability": {
    "bundling-is-avail": false,
    "scheduler-kind-configuration-is-avail": true,
    "supported-maximum-information-rate-list": [
      0,
      71302
    ],
    "support-of-management-frames-without-preamble-is-avail": false,
    "scheduler-profile-configuration-is-avail": false,
    "supported-header-compression-kind-list": [
      {
        "header-compression-name": "l3-compress",
        "compressed-protocol-layer-list": [
          "ethernet-container-2-0:PROTOCOL_LAYER_TYPE_IPV4",
          "ethernet-container-2-0:PROTOCOL_LAYER_TYPE_TCP",
          "ethernet-container-2-0:PROTOCOL_LAYER_TYPE_UDP",
          "ethernet-container-2-0:PROTOCOL_LAYER_TYPE_IPV6"
        ],
        "header-compression-mode": "ethernet-container-2-0:HEADER_COMPRESSION_MODE_TYPE_PROTOCOL_BASED",
        "mpls-payload-kind-list": [
          "ethernet-container-2-0:MPLS_PAYLOAD_KIND_TYPE_AUTO"
        ],
        "compressed-header-length": -1
      },
      {
        "header-compression-name": "none",
        "compressed-protocol-layer-list": [
          "ethernet-container-2-0:PROTOCOL_LAYER_TYPE_NONE"
        ],
        "header-compression-mode": "ethernet-container-2-0:HEADER_COMPRESSION_MODE_TYPE_NOT_YET_DEFINED",
        "mpls-payload-kind-list": [
          "ethernet-container-2-0:MPLS_PAYLOAD_KIND_TYPE_AUTO"
        ],
        "compressed-header-length": -1
      },
      {
        "header-compression-name": "l2-compress",
        "compressed-protocol-layer-list": [
          "ethernet-container-2-0:PROTOCOL_LAYER_TYPE_VLAN",
          "ethernet-container-2-0:PROTOCOL_LAYER_TYPE_Q_IN_Q",
          "ethernet-container-2-0:PROTOCOL_LAYER_TYPE_MPLS",
          "ethernet-container-2-0:PROTOCOL_LAYER_TYPE_ETHERNET_MAC"
        ],
        "header-compression-mode": "ethernet-container-2-0:HEADER_COMPRESSION_MODE_TYPE_PROTOCOL_BASED",
        "mpls-payload-kind-list": [
          "ethernet-container-2-0:MPLS_PAYLOAD_KIND_TYPE_AUTO"
        ],
        "compressed-header-length": -1
      }
    ],
    "supported-fec-interleaver-depth-list": [
      "ethernet-container-2-0:FEC_INTERLEAVER_DEPTH_TYPE_NOT_YET_DEFINED"
    ],
    "ingress-policing-is-avail": true,
    "dropping-behavior-configuration-is-avail": true,
    "available-queue-list": [
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_ASSURED_FORWARDING_QUEUE4",
        "wred-profile-per-drop-precedence-is-available": true,
        "available-drop-precedence-kind-list": [
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_HIGH",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_LOW",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_MEDIUM"
        ],
        "available-dropping-behavior-kind-list": [
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_WRED",
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_DROP_TAIL"
        ],
        "supported-queue-depth-list": [
          -1
        ],
        "available-scheduling-kind-list": [
          "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED"
        ]
      },
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_CLASS_SELECTOR_QUEUE6",
        "wred-profile-per-drop-precedence-is-available": true,
        "available-drop-precedence-kind-list": [
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_HIGH",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_LOW",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_MEDIUM"
        ],
        "available-dropping-behavior-kind-list": [
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_WRED",
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_DROP_TAIL"
        ],
        "supported-queue-depth-list": [
          -1
        ],
        "available-scheduling-kind-list": [
          "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED"
        ]
      },
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_BEST_EFFORT_QUEUE",
        "wred-profile-per-drop-precedence-is-available": true,
        "available-drop-precedence-kind-list": [
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_HIGH",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_LOW",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_MEDIUM"
        ],
        "available-dropping-behavior-kind-list": [
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_WRED",
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_DROP_TAIL"
        ],
        "supported-queue-depth-list": [
          -1
        ],
        "available-scheduling-kind-list": [
          "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED"
        ]
      },
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_CLASS_SELECTOR_QUEUE7",
        "wred-profile-per-drop-precedence-is-available": true,
        "available-drop-precedence-kind-list": [
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_HIGH",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_LOW",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_MEDIUM"
        ],
        "available-dropping-behavior-kind-list": [
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_WRED",
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_DROP_TAIL"
        ],
        "supported-queue-depth-list": [
          -1
        ],
        "available-scheduling-kind-list": [
          "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED"
        ]
      },
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_ASSURED_FORWARDING_QUEUE1",
        "wred-profile-per-drop-precedence-is-available": true,
        "available-drop-precedence-kind-list": [
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_HIGH",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_LOW",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_MEDIUM"
        ],
        "available-dropping-behavior-kind-list": [
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_WRED",
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_DROP_TAIL"
        ],
        "supported-queue-depth-list": [
          -1
        ],
        "available-scheduling-kind-list": [
          "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED"
        ]
      },
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_ASSURED_FORWARDING_QUEUE3",
        "wred-profile-per-drop-precedence-is-available": true,
        "available-drop-precedence-kind-list": [
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_HIGH",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_LOW",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_MEDIUM"
        ],
        "available-dropping-behavior-kind-list": [
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_WRED",
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_DROP_TAIL"
        ],
        "supported-queue-depth-list": [
          -1
        ],
        "available-scheduling-kind-list": [
          "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED"
        ]
      },
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_ASSURED_FORWARDING_QUEUE2",
        "wred-profile-per-drop-precedence-is-available": true,
        "available-drop-precedence-kind-list": [
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_HIGH",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_LOW",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_MEDIUM"
        ],
        "available-dropping-behavior-kind-list": [
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_WRED",
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_DROP_TAIL"
        ],
        "supported-queue-depth-list": [
          -1
        ],
        "available-scheduling-kind-list": [
          "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED"
        ]
      },
      {
        "queue-name": "ethernet-container-2-0:QUEUE_NAME_TYPE_EXPEDITED_FORWARDING_QUEUE",
        "wred-profile-per-drop-precedence-is-available": true,
        "available-drop-precedence-kind-list": [
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_HIGH",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_LOW",
          "ethernet-container-2-0:DROP_PRECEDENCE_TYPE_MEDIUM"
        ],
        "available-dropping-behavior-kind-list": [
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_WRED",
          "ethernet-container-2-0:DROPPING_BEHAVIOR_KIND_TYPE_DROP_TAIL"
        ],
        "supported-queue-depth-list": [
          -1
        ],
        "available-scheduling-kind-list": [
          "ethernet-container-2-0:SCHEDULER_KIND_TYPE_NOT_YET_DEFINED"
        ]
      }
    ],
    "supported-loop-back-kind-list": [
      "ethernet-container-2-0:LOOP_BACK_TYPE_BACK_TO_LOCAL",
      "ethernet-container-2-0:LOOP_BACK_TYPE_NONE"
    ],
    "supported-fec-redundancy-size-list": [
      "ethernet-container-2-0:FEC_REDUNDANCY_SIZE_TYPE_NOT_YET_DEFINED"
    ],
    "performance-monitoring-is-avail": true,
    "fec-word-size-max": -1,
    "bundling-group-size-max": 16,
    "admin-shut-down-is-avail": false,
    "wred-profile-configuration-is-avail": true,
    "egress-shaping-is-avail": true,
    "supported-maximum-burst-size-list": [
      0,
      32767
    ],
    "encryption-is-avail": false,
    "explicit-congestion-notification-is-avail": false,
    "statistics-is-avail": true,
    "maintenance-timer-range": "0,60,120,180...172800",
    "supported-fec-interleaver-kind-list": [
      "ethernet-container-2-0:FEC_INTERLEAVER_KIND_TYPE_NOT_YET_DEFINED"
    ],
    "fec-is-avail": false,
    "supported-wred-protocol-list": [
      "ethernet-container-2-0:PROTOCOL_LAYER_TYPE_ETHERNET_MAC"
    ]
  }
}