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

Can't get any subnet with php client #12

Open
Neurozone opened this issue Aug 30, 2017 · 1 comment
Open

Can't get any subnet with php client #12

Neurozone opened this issue Aug 30, 2017 · 1 comment

Comments

@Neurozone
Copy link

When I try:

$API->execute ("GET", "subnets", array("cidr", $full_subnet), array(), $token_file);

$full_subnet = '192.168.136.64/26'

here is the parameters of the api :

Array
(
[id] => cidr
[id2] => 192.168.136.64/26
[controller] => subnets
)

I get the following result :

(
[code] => 200
[success] => 0
[message] => No subnets found
[time] => 0.007
)

The subnet exist in php ipam

Auth with crypt and api key

@gilcot
Copy link

gilcot commented Aug 11, 2018

Confirmed for me: working with password access (see #17 ) but not crypt access (see #14 )

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