Module Contents

class noc.core.topology.constraint.vlan.VLANConstraint(vlan=1, allow_tagged=True, allow_untagged=True, strict=True)

Bases: noc.core.topology.constraint.base.BaseConstraint

Follow only links with specific VLANs

  • vlan – VLAN id to check
  • allow_tagged – Allow links with tagged vlan
  • allow_untagged – Allow links with untagged vlan
  • strict – True - Both ends of the links must satisfy criteria, False - At least one end of the link must satisfy criteria.