pyats.aereport.tsinitinfo.atstree package¶
atstree
– ATSTree¶
This module implements ATSTree element.
- class pyats.aereport.tsinitinfo.atstree.ATSTree¶
Bases:
pyats.aereport.toplevel.aereportelement.AEReportElement
Class based on this schema definition
<xs:element name="ats"> <xs:annotation> <xs:documentation>ATS tree info</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="path"></xs:element> <xs:element name="version"></xs:element> <xs:element name="package" maxOccurs="unbounded"> <xs:annotation> <xs:documentation>List of package names and corresponding version loaded </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="name" /> <xs:element name="version" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
- add_packages(kwargs)¶
Add multiple packages to the ATS tree Accept list of format : [{name:’’, version:’’},….]
- set_args(**kwargs)¶
Set testsuite initinfo attributes
Submodules¶
atspackage
– ATSPackage¶
This module implements ATSPackage element.
- class pyats.aereport.tsinitinfo.atstree.atspackage.ATSPackage(**kwargs)¶
Bases:
pyats.aereport.toplevel.aereportelement.AEReportElement
Class based on this schema definition
<xs:annotation> <xs:documentation>List of package names and corresponding version loaded </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="name" /> <xs:element name="version" /> </xs:sequence> </xs:complexType>