function_ov_transport_disconnect 

Fuego wiki

Login or create account

function ov transport disconnect

NAME [edit section]

ov_transport_disconnect

SYNOPSIS [edit section]

  • ov_transport_disconnect

DESCRIPTION [edit section]

ov_transport_disconnect is an internal function used to release a connection to the target. It is called during the "post_test" phase (during cleanup) in order to do any required operations to release the connection with the board.

It uses the $TRANPORT variable to select the correct method to use to disconnect.

As with other "ov_" functions, it can be overridden in the board file for a board, to customize any operations required for disconnecting from a board.

This could be used for a number of things, including:

  • powering off a board
  • relinquishing a VPN connection to a remote lab
  • releasing a board reservation using an external board management system

EXAMPLES [edit section]

none

ENVIRONMENT and ARGUMENTS [edit section]

  • $TRANSPORT - specifies the type of transport used to communicate with the board. This should be one of "ssh", "serial", "ttc".

RETURN [edit section]

Returns non-zero on error

SOURCE [edit section]

Located in overlays/base/base-board.fuegoclass

SEE ALSO [edit section]

TBWiki engine 1.8.3 by Tim Bird