.. Class Doc file class cobra.model.span.Source ============================= .. class:: cobra.model.span.Source The SPAN or ERSPAN source, which is where traffic is sampled. A source can be an endpoint group (EPG); one or more ports; or port traffic filtered by an EPG (Access SPAN), a layer 2 bridge domain, or a layer 3 context (Fabric SPAN). When you create a traffic monitoring session, you must select a source and a destination. The type of session (Tenant, Access, or Fabric) determines the allowed types of sources and destinations. The destination can be either a port or an EPG. If the destination is a port, it should not be one that has been configured for other purposes. Containers: * :class:`cobra.model.span.Session` Containment: * :class:`cobra.model.span.RsSpanSrcToL1IfAtt` * :class:`cobra.model.fault.Counts` * :class:`cobra.model.health.Inst` * :class:`cobra.model.span.RsSpanSrcToL2CktEpAtt` * :class:`cobra.model.fault.Delegate` Properties: - childAction : Delete or ignore. For internal use only. + isNaming: False + isCreateOnly: False + isConfig: False + isImplicit: True - descr : Additional descriptive information about the object. + isNaming: False + isCreateOnly: False + isConfig: True + isImplicit: False - dir : The direction of the monitored packets. + isNaming: False + isCreateOnly: False + isConfig: False + isImplicit: True - dn : A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. + isNaming: False + isCreateOnly: True + isConfig: False + isImplicit: True - domain : The domain of the counts object. + isNaming: False + isCreateOnly: False + isConfig: False + isImplicit: True - lcOwn : A value that indicates how this object was created. For internal use only. + isNaming: False + isCreateOnly: False + isConfig: False + isImplicit: True - modTs : The time when this object was last modified. + isNaming: False + isCreateOnly: False + isConfig: False + isImplicit: True - mode : The mode of the source. + isNaming: False + isCreateOnly: False + isConfig: False + isImplicit: True - monPolDn : The monitoring policy for the observable object. + isNaming: False + isCreateOnly: False + isConfig: False + isImplicit: True - name : The name of the object containing relations to the SPAN source objects. + isNaming: True + isCreateOnly: True + isConfig: True + isImplicit: False - rn : Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. + isNaming: False + isCreateOnly: True + isConfig: False + isImplicit: True - status : The upgrade status. This property is for internal use only. + isNaming: False + isCreateOnly: False + isConfig: False + isImplicit: True - type : The type of source. + isNaming: False + isCreateOnly: False + isConfig: False + isImplicit: True