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

Euro-IX json output - only lists the last "active" switch #177

Closed
listerr opened this issue Nov 25, 2014 · 1 comment
Closed

Euro-IX json output - only lists the last "active" switch #177

listerr opened this issue Nov 25, 2014 · 1 comment

Comments

@listerr
Copy link
Contributor

listerr commented Nov 25, 2014

Got this working thanks to Nick's documentation.

Seems the output doesn't list all of our switches, it's only listing the most recently added "active" switch for some reason. (None our other switches appear.)

    "version": "2014110301",
    "timestamp": "2014-11-25T01:10:08Z",
    "ixp_info": {
        "shortname": "LONAP",
        "name": "LONAP Ltd",
        "ixp_id": "XXX",
        "country": "GB",
        "vlan": [
            {
                "id": 1,
                "name": "Peering LAN #1",
                "ipv4": {
                    "prefix": "5.57.80.0",
                    "mask_length": 22
                },
                "ipv6": {
                    "prefix": "2001:7f8:17::",
                    "mask_length": 64
                }
            }
        ],
        "switch": [
            {
                "id": 18,
                "name": "thw-cs1",
                "colo": "Telehouse West",
                "city": "London",
                "country": "GB"
            }
        ]
    },
    "member_list": [
        {
            "asnum": 42,
.....

Had a quick poke about in the mySQL tables, and can't see anything up with the switch or location tables.

If I add another switch after this, this gets listed instead, as long as it's ticked as "active".

@barryo barryo closed this as completed in 41cc73c Nov 25, 2014
@barryo
Copy link
Member

barryo commented Nov 25, 2014

Thanks @listerr - fix will be included in next release. Live in master.

barryo pushed a commit that referenced this issue Jul 2, 2018
[BF] - LAG config settings not deployed for underlying core links
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants