def do_stc_disconnectall ( self , s ) : if self . _not_joined ( ) : return try : self . _stc . disconnectall ( ) except resthttp . RestHttpError as e : print ( e ) return print ( 'OK' )
python rest connection refused
Remove connections to all chassis ( test ports ) in this session .
def do_stc_disconnectall(self, s):
        """Remove connections to all chassis (test ports) in this session."""
        if self._not_joined():
            return
        try:
            self._stc.disconnectall()
        except resthttp.RestHttpError as e:
            print(e)
            return
        print('OK')