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

No subnets found on Subnets controller #31

Open
donpool opened this issue Feb 8, 2021 · 0 comments
Open

No subnets found on Subnets controller #31

donpool opened this issue Feb 8, 2021 · 0 comments

Comments

@donpool
Copy link

donpool commented Feb 8, 2021

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!

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

1 participant