Skip to content

No subnets found on Subnets controller #31

@donpool

Description

@donpool

Hi,

I've been using php-client for a couple years now to sync the subnets in phpIPAM to some internal systems. Since update to phpIPAM 1.4, it started failing.

We've got this kind of structure in phpIPAM:

IPv4 (sectionId=1)
CUSTOMERS (subnetId=9)
CUST01
Subnets...
CUST02
Subnets...
...
IPv6
...

Before update, I called to something like:

    $api->execute ("GET", "subnets", [9, 'slaves'], [], $token_file);

And obtained the JSon list of cutomers from CUST01 to CUSTnn. But now I've just got: {"code":404,"success":false,"message":"No subnets found","time":0.009}

What have changed since last version? What/how I need to recode to get the "customers" list so I can grab each of it's subnets as I used to do?

Best regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions