Issue creating a Network WAPI

Hi, 

 

I am using WAPI/v2.9.5 and I am trying to create a network 172.10.0.0/16.

 

When I make the request through Postman the Network is created as expected but when I do it through my NodeJS app it is created as a Network Container.

 

This is the call I am making:

 

POST

 

https://host/wapi/v2.9.5/network?_return_fields+=network&_return_as_object=0

 

{
"network": "172.10.0.0/16",
"comment": "NETWORK"
}

 

Why does it create a Network in one case and a Network Container in the other one using the same endpoint and body?

Tagged:

Best Answer

  • J
    Answer ✓

    I found out what was happening, it is not an issue,  through my app, I was creating a subnet straight after the creation of the network and this converts it into a Network container. I figure out that if I add the Zone to the Network and then creates the subnet it works as expected

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.