cancel
Showing results for 
Search instead for 
Did you mean: 

Site VLANs don't match

Site VLANs don't match

Chad5
Contributor

Hi,

I am writing workflow scripts that use the VLAN list for a site, but I was surprised to see that what I get when I do an NBI query doesn't match what I get when I browse site Engine on the web access.

my Query is to find the vlans from sitedata for a device:

query{ network { device(ip:"1.2.3.4") { siteData { vlans { name vid } }} }}

I got 35 VLANs in the NBI query, but when I go to Site Engine and under the site (VRF/VLAN tab) I get 57 VLANs.

I then confirmed by listing the site VLANS:

query{ network { sites { siteName vlans {name }}}}

and manually went to the specific site and I saw that I got same result, NBI query has less vlans.

Any idea why the difference?

Thanks,

2 REPLIES 2

Markus_Nikulski
Extreme Employee

please crosscheck if the site path is the same
{ network { device(ip: "1.2.3.4"){ sitePath, siteData { vlans { name, vid } } } } }

{ network { siteByLocation (location: "/World/Local"){ vlans { name, vid} } } }

If it still true what you claim, than please open a GTAC ticket.

Thanks, yes seems to be an issue. Case open.

Thanks,

GTM-P2G8KFN