<s> import logging <EOL> from ncclient import manager <EOL> import sys <EOL> HOST = '<STR_LIT>' <EOL> PORT = <NUM_LIT> <EOL> USER = '<STR_LIT>' <EOL> PASS = '<STR_LIT>' <EOL> def main ( ) : <EOL> """<STR_LIT>""" <EOL> with manager . connect ( host = HOST , port = PORT , username = USER , password = PASS , <EOL> hostkey_verify = False , device_params = { '<STR_LIT:name>' : '<STR_LIT>' } , <EOL> look_for_keys = False , allow_agent = False ) as m : <EOL> print ( '<STR_LIT>' ) <EOL> for capability in m . server_capabilities : <EOL> print ( capability ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> sys . exit ( main ( ) ) </s>
