Skip to content

Commit

Permalink
Set release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shermdog committed Jul 30, 2015
1 parent 91d674a commit 4af80bb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions library/junos_install_os
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ description:
version matches the desired version.
requirements:
- py-junos-eznc >= 1.2.1
- py-junos-eznc >= 1.2.2
options:
host:
description:
Expand Down Expand Up @@ -131,7 +131,7 @@ from distutils.version import LooseVersion
try:
from jnpr.junos import Device
from jnpr.junos.version import VERSION
if not LooseVersion(VERSION) >= LooseVersion('1.2.1'):
if not LooseVersion(VERSION) >= LooseVersion('1.2.2'):
HAS_PYEZ = False
else:
HAS_PYEZ = True
Expand Down Expand Up @@ -238,7 +238,7 @@ def main():
)

if not HAS_PYEZ:
module.fail_json(msg='junos-eznc >= 1.2.1 is required for this module')
module.fail_json(msg='junos-eznc >= 1.2.2 is required for this module')

args = module.params

Expand Down
6 changes: 3 additions & 3 deletions library/junos_shutdown
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ description:
This is equivalent to executing either the Junos OS B(request system power-off)
or B(request system reboot) operational command.
requirements:
- junos-eznc >= 1.2.1
- junos-eznc >= 1.2.2
options:
host:
description:
Expand Down Expand Up @@ -90,7 +90,7 @@ try:
from jnpr.junos import Device
from jnpr.junos.utils.sw import SW
from jnpr.junos.version import VERSION
if not LooseVersion(VERSION) >= LooseVersion('1.2.1'):
if not LooseVersion(VERSION) >= LooseVersion('1.2.2'):
HAS_PYEZ = False
else:
HAS_PYEZ = True
Expand All @@ -112,7 +112,7 @@ def main():
supports_check_mode=False)

if not HAS_PYEZ:
module.fail_json(msg='junos-eznc >= 1.2.1 is required for this module')
module.fail_json(msg='junos-eznc >= 1.2.2 is required for this module')

args = module.params
if args['shutdown'] != 'shutdown':
Expand Down
16 changes: 8 additions & 8 deletions library/junos_zeroize
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ description:
configuration. After the reboot, you must log in through the console
as root in order to access the device.
requirements:
- junos-eznc >= 1.2.1
- junos-netconify >= 1.0.0, when using the I(console) option
- junos-eznc >= 1.2.2
- junos-netconify >= 1.0.1, when using the I(console) option
options:
host:
description:
Expand Down Expand Up @@ -152,10 +152,10 @@ def main():
try:
from jnpr.junos import Device
from jnpr.junos.version import VERSION
if not LooseVersion(VERSION) >= LooseVersion('1.2.1'):
module.fail_json(msg='junos-eznc >= 1.2.1 is required for this module')
if not LooseVersion(VERSION) >= LooseVersion('1.2.2'):
module.fail_json(msg='junos-eznc >= 1.2.2 is required for this module')
except ImportError:
module.fail_json(msg='junos-eznc >= 1.2.1 is required for this module')
module.fail_json(msg='junos-eznc >= 1.2.2 is required for this module')

dev = Device(args['host'], user=args['user'], password=args['passwd'], port=args['port'])
try:
Expand All @@ -175,10 +175,10 @@ def main():
try:
from netconify.cmdo import netconifyCmdo
from netconify.constants import version
if not LooseVersion(version) >= LooseVersion('1.0'):
module.fail_json(msg='junos-netconify >= 1.0.x is required for this module')
if not LooseVersion(version) >= LooseVersion('1.0.1'):
module.fail_json(msg='junos-netconify >= 1.0.1 is required for this module')
except ImportError:
module.fail_json(msg='junos-netconify >= 1.0.x is required for this module')
module.fail_json(msg='junos-netconify >= 1.0.1 is required for this module')
nc_args = []
nc_args.append(args['console'])
nc_args.append('--zeroize')
Expand Down
4 changes: 2 additions & 2 deletions version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VERSION = "1.2.0.dev"
DATE = "2015-Jun-23"
VERSION = "1.2.0"
DATE = "2015-July-31"

0 comments on commit 4af80bb

Please sign in to comment.