Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect spec for traffic.trafficItem.highLevelStream.framePreemption #1

Open
jasdeep-hundal opened this issue Aug 18, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jasdeep-hundal
Copy link

The 'framePreemption' field for the traffic/trafficItem/highLevelStream object is listed as an array in the resourcemanager.yaml schema (https://github.com/OpenIxia/openixia.github.io/blob/master/ixnetwork_openapi/assets/resourcemanager.yaml#L59680), but I'm getting back just a flat object from the IxNetwork Web UI/API:

        "framePreemption": {
          "xpath": "/traffic/trafficItem[1]/highLevelStream[1]/framePreemption",
          "autoFragmentCount": false,
          "lastFragment": false,
          "frameType": "fragment",
          "smdType": "autoSMDS",
          "enable": false,
          "fragmentCount": 0
        },

I've been able to successfully parse IxNetwork config from the API after locally fixing this.

@ajbalogh ajbalogh self-assigned this Aug 18, 2020
@ajbalogh ajbalogh added the bug Something isn't working label Aug 18, 2020
@ajbalogh
Copy link
Contributor

Hi Jasdeep - the flat object is correct. We are in the process of fixing the meta data and will regenerate the openapi docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants