Hi,
we will test that. So far looks like a bug.
Best regards,
Victor
we will test that. So far looks like a bug.
Best regards,
Victor
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Denis on February 18, 2021, 11:52:25 AMда, именно так.
Виктор, спасибо. Было бы не плохо сделать специальный аттрибут, поскольку как я понимаю коммутаторов с такой проблемой не много (может они старые, а в современных все соответствует спецификации).Quoteно это надо еще проверять, сделать больше VLAN'ов в разной конфигурации.По поводу проверки, надо как-то специально настроить или просто назначить штук 10 vlan на разные порты?
if (not ($container->name match "^Site:(.*)"))
PostEvent($object, "SCRIPT_OUTPUT", null, "Debug output here");
[code]
New event will appear in event monitor with message set to whatever debug message you put in a call.
3. Line
[code]
if ($node == SeedRouter->name)
if ($node->id == SeedRouter->id)
$container = FindObject("test container");
for(a : $node->__class->attributes)
println(a . " = " . $node->__get(a));
for(m : $node->__class->methods)
println(m);
if (not ($container->name match "^Site:(.*)"))
return false;
router = FindObject($1);
if (router == null)
return false;
for(rp : router->parents)
{
if (classof(rp) == "Subnet")
{
for(np : $node->parents)
if (np->id == rp->id) // Same object
return true;
}
}
return false;