Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
- Create a drivename.py file under "/drivers/common/cli/.." . In this example, the driver is placed under cli > emulator(folderpath) hierarchy. If the user wishes to create a driver that is integrated with an API library, then the same can be created under api-emulator(folder path). The driver should be placed in the same folder as the driver type it inherits from.
- Create class name as driver name. Naming convention for the module name is lower case letters. Naming convention for the class name is "DriverName". In the test's .topo file specify the component driver as 'type' = 'DriverName'.
- Create function in DriverName class named as connect with suitable return type. It will facilitate the connection for component or remote host used for driver.
- Create more functions/api in DriverName class with suitable defined parameters. It will facilitate the connection for component or remote host used for driver.
...