cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

a simple netconf client (a wrapper of ncclient)

24
Views
0
Helpful
0
Comments

implemented: get-config, edit-config, action(tail-f)

actually there's a very general rpc operation function: general_operation() which could be used for other operations

not implemented (important ones): create-subscription (notification) (limited by ncclient), multi-edit transaction

no non-trivial xml parsing

usage examples (ncs-oriented):

    import myncclient

    mncci=myncclient.MyNcClient('127.0.0.1', port_int=2022, user_name='admin', pass_word='admin')

    mncci.get_config('/services')

    mncci.do_device_action('csr1','connect')

    content_xml="<...(xml string)...>"

    mncci.edit_config(content_xml)

Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.