COT.platforms package reference¶
Package for identifying guest platforms and handling platform differences.
GenericPlatform class describes the API
and provides a generic implementation that can be overridden by subclasses
to provide platform-specific logic.
In general, other modules should not instantiate subclasses directly but should
instead use the
platform_from_product_class() API to
derive the appropriate subclass instance.
||Determine if the given product class string is a known one.|
||Get the class of Platform corresponding to a product class string.|
||API and generic implementation of platform-specific logic.|
||Platform logic for the Cisco CSR1000V virtual router.|
||Platform logic for the Cisco IOSv virtual router.|
||Platform logic for the Cisco IOS XRv virtual router and its variants.|
||Platform logic for the Cisco IOS XRv 9000 virtual router.|
||Platform logic for the Cisco NX-OSv virtual switch.|
Determine if the given product class string is a known one.
Parameters: product_class (str) – String such as ‘com.cisco.iosv’ Returns: bool – Whether product_class is known.