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

Missing properties in connection breakdown #121

Open
sajith opened this issue Jun 20, 2023 · 1 comment
Open

Missing properties in connection breakdown #121

sajith opened this issue Jun 20, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sajith
Copy link
Member

sajith commented Jun 20, 2023

We have the below connection request:

{
    "id": "id",
    "name": "AMLight",
    "start_time": "2000-01-23T04:56:07.000Z",
    "end_time": "2000-01-23T04:56:07.000Z",
    "bandwidth_required": 10,
    "latency_required": 300,
    "egress_port":
    {
        "id": "urn:sdx:port:amlight.net:A1:1",
        "name": "Novi100:1",
        "node": "urn:sdx:node:amlight.net:A1",
        "status": "up"
    },
    "ingress_port":
    {
        "id": "urn:ogf:network:sdx:port:zaoxi:A1:2",
        "name": "Novi100:2",
        "node": "urn:ogf:network:sdx:node:zaoxi:A1",
        "status": "up"
    }
}

When it is solved and broken down against amlight + sax + zaoxi topology descriptions, we get:

{
    "urn:ogf:network:sdx:topology:zaoxi.net": {
        "ingress_port": {
            "id": "urn:ogf:network:sdx:port:zaoxi:A1:2",
            "name": "Novi100:2",
            "short_name": null,
            "node": "urn:ogf:network:sdx:node:zaoxi:A1",
            "label_range": null,
            "status": null,
            "state": null,
            "private_attributes": null
        },
        "egress_port": {
            "id": "urn:ogf:network:sdx:port:zaoxi:B1:1",
            "name": "Novi01:1",
            "node": "urn:ogf:network:sdx:node:zaoxi:B1",
            "short_name": "B1:1",
            "label_range": [
                "100-200",
                "10001"
            ],
            "status": "up"
        }
    },
    "urn:ogf:network:sdx:topology:sax.net": {
        "ingress_port": {
            "id": "urn:ogf:network:sdx:port:sax:B3:1",
            "label_range": [
                "100-200",
                "1000"
            ],
            "name": "Novi02:3",
            "node": "urn:ogf:network:sdx:node:sax:B3",
            "short_name": "B3:1",
            "status": "up"
        },
        "egress_port": {
            "id": "urn:ogf:network:sdx:port:sax:B1:1",
            "name": "Novi01:1",
            "node": "urn:ogf:network:sdx:node:sax:B1",
            "short_name": "B1:1",
            "label_range": [
                "100-200",
                "10001"
            ],
            "status": "up"
        }
    },
    "urn:ogf:network:sdx:topology:amlight.net": {
        "ingress_port": {
            "id": "urn:sdx:port:amlight:B1:1",
            "name": "Novi01:1",
            "node": "urn:sdx:node:amlight.net:B1",
            "short_name": "B1:1",
            "label_range": [
                "100-200",
                "10001"
            ],
            "status": "up"
        },
        "egress_port": {
            "id": "urn:sdx:port:amlight.net:A1:1",
            "name": "Novi100:1",
            "short_name": null,
            "node": "urn:sdx:node:amlight.net:A1",
            "label_range": null,
            "status": null,
            "state": null,
            "private_attributes": null
        }
    }
}

Notice that properties like label_range are set to null in Zaoxi ingress port and AmLight ingress port descriptions.

@sajith sajith added the bug Something isn't working label Jun 20, 2023
@sajith sajith self-assigned this Jun 20, 2023
@sajith
Copy link
Member Author

sajith commented Jun 20, 2023

Perhaps we do not need all the extra data about each port in the above intermediate breakdown. We probably need just id (port ID) and node (node ID) and not the rest of it.

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
Development

No branches or pull requests

1 participant