###########################################################################
#
# Copyright (C) 2013 - 2021  Seguesoft  Inc.
#                                                                             
# Redistribution of this software, in whole or in part, is prohibited         
# without the express written permission of Seguesoft. 
#
###########################################################################

1. To start NETCONFc, on Linux cd the installation directory:

./start_NETCONFc.sh


2. For Python scripting examples, see

To get started, set up your environment and run some sample scripts.

Please refer to doc/netconfc_api_guide.pdf for command references.

1. Set up PYTHONPATH
2. How to run sample scripts?

1) Set up PYTHONPATH 

   For example, on Linux you should do:

   export PYTHONPATH=/path-to/segue_netconfc_demo:/path-to/segue_netconfc_pro/ssclient

   If you are using NETCONFc professional edition:

   export PYTHONPATH=/path-to/segue_netconfc_pro:/path-to/segue_netconfc_pro/ssclient:

   On Windows control panel  
   set PYTHONPATH to C:\SegueSoft\NETCONFc;C:\SegueSoft\NETCONFc\ssclient 

1). How to use sample scripts?

   Install Python3.8:
   Note on macOS, if using pyenv it is recommended to enable installing framework Python
   env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.8.7
   on Linux
   env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.8.7

   
   pip install brotli wheel configobj hyperframe rfc3986 h2 win_inet_pton lxml regex psutil
   pip install pypubsub requests robotframework  paramiko pycryptodome PySocks pyang 
   pip install pywin32   (Windows Only)

   Then you can run these sample scripts by typing:
      
   cd /path-to/segue-netconfc-demo/ssclient-sample-scripts/sample-scripts
   python get_and_get_config.py



 
