Permalink
Browse files

First commit

  • Loading branch information...
1 parent 70d09a8 commit 6b2e6d9a748e7c6e03df895dddfc18535875c930 @vkosuri committed Oct 3, 2016
Showing with 418 additions and 0 deletions.
  1. +25 −0 .gitignore
  2. +17 −0 LICENSE.md
  3. +3 −0 MANIFEST.in
  4. +21 −0 README.md
  5. +2 −0 requirements.txt
  6. +45 −0 setup.py
  7. +288 −0 src/NcclientLibrary/NcclientKeywords.py
  8. +16 −0 src/NcclientLibrary/__init__.py
  9. +1 −0 src/NcclientLibrary/version.py
View
@@ -137,3 +137,28 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk
+
+# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
+
+# User-specific stuff:
+.idea/workspace.xml
+.idea/tasks.xml
+.idea/dictionaries
+.idea/vcs.xml
+.idea/jsLibraryMappings.xml
+
+# Sensitive or high-churn files:
+.idea/dataSources.ids
+.idea/dataSources.xml
+.idea/dataSources.local.xml
+.idea/sqlDataSources.xml
+.idea/dynamic.xml
+.idea/uiDesigner.xml
+
+# Other stuff
+.idea/encodings.xml
+.idea/inspectionProfiles/profiles_settings.xml
+.idea/inspectionProfiles/Project_Default.xml
+.idea/misc.xml
+.idea/modules.xml
+.idea/robotframework-ncclient.iml
View
@@ -0,0 +1,17 @@
+
+Copyright (c) 2016 Mallikarjunarao Kosuri
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this
+software and associated documentation files (the "Software"), to deal in the Software
+without restriction, including without limitation the rights to use, copy, modify, merge,
+publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
+to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or
+substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
+BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,3 @@
+include MANIFEST.in
+include *.robot
+include *.txt
View
@@ -0,0 +1,21 @@
+# NcclientLibrary
+
+NcclientLibrary is a [Robotframework](https://github.com/robotframework/robotframework) NETCONF wrapper libraray of [ncclient](https://github.com/ncclient/ncclient)
+
+``` bash
+pip install robotframework-ncclient
+```
+
+## Example testcase
+
+``` Robotframework
+*** Settings ***
+Library NcclientLibrary
+
+*** Test Cases ***
+Test Login
+ ${config} = Create Dictionary host=A.B.C.D port=830 username=user password=password hostkey_verify=False
+ Connect &{config}
+```
+
+Pull requests are welcome.
View
@@ -0,0 +1,2 @@
+robotframework
+ncclient
View
@@ -0,0 +1,45 @@
+#!/usr/bin/env python
+
+from distutils.core import setup
+
+from os.path import abspath, dirname, join
+
+version_file = join(dirname(abspath(__file__)), 'src', 'NcclientLibrary', 'version.py')
+
+with open(version_file) as file:
+ code = compile(file.read(), version_file, 'exec')
+ exec(code)
+
+DESCRIPTION = """
+Robot Framework keyword library wrapper NETCONF requests.
+"""[1:-1]
+
+
+CLASSIFIERS = """
+Development Status :: 5 - Production/Stable
+License :: Public Domain
+Operating System :: OS Independent
+Programming Language :: Python
+Topic :: Software Development :: Testing
+"""[1:-1]
+
+setup(
+ name = 'robotframework-ncclient',
+ version = VERSION,
+ description = 'Robot Framework keyword library wrapper around ncclient',
+ long_description = DESCRIPTION,
+ author = 'Mallikarjunarao Kosuri',
+ author_email = 'venkatamallikarjunarao.kosuri@adtran.com',
+ url = 'http://github.com/vkosuri/robotframework-ncclient',
+ license = 'Public Domain',
+ keywords = 'robotframework testing test automation NETCONF client requests',
+ platforms = 'any',
+ classifiers = CLASSIFIERS.splitlines(),
+ package_dir = {'' : 'src'},
+ packages = ['NcclientLibrary'],
+ package_data = {'NcclientLibrary': ['tests/*.robot']},
+ requires=[
+ 'robotframework',
+ 'ncclient'
+ ],
+)
Oops, something went wrong.

0 comments on commit 6b2e6d9

Please sign in to comment.