def clearChassisList(connection, sessionUrl): ''' This method is used to clear the chassis list. After execution no chassis should be available in the chassisList. Args: - connection is the connection object that manages the HTTP data transfers between the client and the REST API - sessionUrl is the address of the session that should run the test ''' chassisListUrl = "%s/ixload/chassischain/chassisList" % sessionUrl deleteParams = {} performGenericDelete(connection, chassisListUrl, deleteParams)