Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull request for pyez release 2.6.4 #1181

Merged
merged 11 commits into from
Jun 9, 2022
41 changes: 41 additions & 0 deletions INSTALL-RHEL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
### Installation on RHEL

The following are instructions for setting up a system starting from a stock system images.

These instructions were tested on a 64-bit systems from https://github.com/opscode/bento, and using the _Junos PyEZ_ library version 2.6.3.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it 2.6.3 or 2.6.4 ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated it to 2.6.4


Operating Systems
---------------
- Red hat Enterprise Linux 8.1 (Ootpa)

#### Step 1: Install Python and PIP

##### For Python 3.x:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Installation steps are missing

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dnf install python3-pip

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dnf install python3-pip python3-wheel

###### For RHEL:

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

#### Step 1: Install Junos PyEZ
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be step 2, right ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, updated

Step 2: Install Junos PyEZ


##### For Python 3.x:
sudo pip3 install junos-eznc

#### Step 2: Verify

Once you've completed the above step, you should be able to create a `Device` instance, connect to a Junos system, and display the "facts", as illustrated in the README.md file.

Enjoy!


#### Installing from GitHub

Development code can be installed directly from GitHub based on any branch, commit, or tag.

***Steps 1 -2 are still required.***
#### Alternate Step 4: Install Junos PyEZ from GitHub
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please take care of step no's. I don't find step 3.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated the step no's


#### Step 4a: Install Git from OS packages
pip install git
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pip3

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pip3 install git


#### Step 4b: Install Junos PyEZ from GitHub

##### For Python 3.x:
pip install git+https://github.com/Juniper/py-junos-eznc.git
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10 changes: 10 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## Release 2.6.4 - 9 JUNE 2022
### Features Added
- Supported start_shell options to choose the shell types (sh or csh) #995

### Bugs fixed:
- Fixed Device facts current_re returns the SRX cluster node0 and node1 details with cluster ID 16 #1135
- Fixed upgrade ncclient version 0.6.13, updated requirements.txt to install ncclient==0.6.13 #1153
- Fixed deprecation warning due to invalid escape sequences #1034
- Fixed Unit tests test_sw_put_ftp failure #1165

## Release 2.4.2.dev0 - 29 APRIL 2020
## Features Added

Expand Down
4 changes: 2 additions & 2 deletions lib/jnpr/junos/version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION = "2.5.0"
DATE = "2020-Jun-15"
VERSION = "2.6.4"
DATE = "2022-Jun-9"

# Augment with the internal version if present
try:
Expand Down