Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Merge pull request #48 from napalm-automation/develop
Browse files Browse the repository at this point in the history
Release 0.4.0 - master
  • Loading branch information
mirceaulinic authored Nov 1, 2016
2 parents 3002fee + ab6c34c commit e0407bd
Show file tree
Hide file tree
Showing 19 changed files with 1,192 additions and 282 deletions.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
### Description of Issue/Question


### Did you follow the steps from https://github.com/napalm-automation/napalm#faq
[ ] Yes
[ ] No


### Setup

### napalm-nxos version
(Paste verbatim output from `pip freeze | grep napalm-nxos` between quotes below)

```

```

### NX-OS version
(Paste verbatim output from `show version | json` between quotes below)

```

```

### Steps to Reproduce the Issue

### Error Traceback
(Paste the complete traceback of the exception between quotes below)

```

```
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- Make sure you have read http://napalm.readthedocs.io/en/latest/contributing/index.html --!>
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ python:
- 2.7

install:
- pip install -r requirements.txt
- pip install .
- pip install -e git+https://github.com/napalm-automation/napalm-base.git@develop#egg=napalm-base
- pip install -r requirements-dev.txt
- pip install .

deploy:
provider: pypi
Expand All @@ -18,8 +17,11 @@ deploy:
branch: master

script:
- pylama .
- cd test/unit
- nosetests -v TestNXOSDriver:TestGetterNXOSDriver
- nosetests -v TestNXOSDriver:TestNXOSDriver_bgp_neighbors
- nosetests -v TestNXOSDriver:TestNXOSDriver_get_interfaces_ip
- nosetests --with-coverage --cover-package napalm_nxos -v TestNXOSDriver:TestGetterNXOSDriver
- nosetests --with-coverage --cover-package napalm_nxos -v TestNXOSDriver:TestNXOSDriver_bgp_neighbors
- nosetests --with-coverage --cover-package napalm_nxos -v TestNXOSDriver:TestNXOSDriver_get_interfaces_ip
- cd ../..
- coverage combine test/unit/.coverage
after_success: coveralls
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![PyPI](https://img.shields.io/pypi/v/napalm-nxos.svg)](https://pypi.python.org/pypi/napalm-nxos)
[![PyPI](https://img.shields.io/pypi/dm/napalm-nxos.svg)](https://pypi.python.org/pypi/napalm-nxos)
[![Build Status](https://travis-ci.org/napalm-automation/napalm-nxos.svg?branch=master)](https://travis-ci.org/napalm-automation/napalm-nxos)
[![Coverage Status](https://coveralls.io/repos/github/napalm-automation/napalm-nxos/badge.svg?branch=master)](https://coveralls.io/github/napalm-automation/napalm-nxos)

# napalm-nxos
15 changes: 14 additions & 1 deletion napalm_nxos/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
# Copyright 2016 Dravetech AB. All rights reserved.
#
# The contents of this file are licensed under the Apache License, Version 2.0
Expand All @@ -13,4 +14,16 @@
# the License.

"""napalm_nxos package."""
from nxos import NXOSDriver

# Import stdlib
import pkg_resources

# Import local modules
from nxos import NXOSDriver # noqa

try:
__version__ = pkg_resources.get_distribution('napalm-nxos').version
except pkg_resources.DistributionNotFound:
__version__ = "Not installed"

__all__ = ('NXOSDriver',)
Loading

0 comments on commit e0407bd

Please sign in to comment.