Hi to all
maybe somebody could help me with eplanation of “vlan_domain” column in DB
i tried to track down where it is used, and found it in
/includes/discovery/vlan.inc.php
as i see
foreach ($device['vlans'] as $domain_id => $vlans) {
foreach ($vlans as $vlan_id => $vlan) {
// grab the populated data for this vlan
$vlan_data = $per_vlan_data[$vlan_id];
from this code, it is clear that only one instance of specific VLAN could exist on one device
for example, Vlan10 could be only one
furthermore, HTML page for displaying VLANS
/includes/html/pages/device/port/vlans.inc.php
does not contain “vlan_domain” column nowhere
only vlan_vlan which is Vlan ID
so, my question is, what is the use of vlan_domain column ?
what i was hope to achieve is having multiple equal vlan ID on same device, to be specific, i like to make Vlan discovery for Mikrotik ROS
and my idea was to place, for ex Vlan10 from bridge1 in one vlan_domain, and Vlan10 from bridge2 in other vlan_domain because it is “normal” in Mikrotik world to have same VlanID totaly separated on multiple bridge / port
or i am wrong with “vlan_domain” approach ???