Skip to content

add keybase authentication option in netconf provider#619

Merged
3 commits merged intoCiscoDevNet:masterfrom
ylil93:keybaseAuth
Nov 9, 2017
Merged

add keybase authentication option in netconf provider#619
3 commits merged intoCiscoDevNet:masterfrom
ylil93:keybaseAuth

Conversation

@ylil93
Copy link
Copy Markdown
Contributor

@ylil93 ylil93 commented Nov 6, 2017

  • add keybase authentication option in netconf provider
  • update testing
  • update documentation

- add keybase authentication option in netconf provider
- update testing
- update documentation
@codecov
Copy link
Copy Markdown

codecov bot commented Nov 6, 2017

Codecov Report

Merging #619 into master will increase coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #619      +/-   ##
==========================================
+ Coverage   73.27%   73.35%   +0.08%     
==========================================
  Files         104      105       +1     
  Lines       10351    10386      +35     
  Branches     1449     1450       +1     
==========================================
+ Hits         7585     7619      +34     
  Misses       2488     2488              
- Partials      278      279       +1
Impacted Files Coverage Δ
sdk/python/core/tests/test_netconf_provider.py 97.14% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9c36cd1...7cab124. Read the comment docs.

Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Thanks for this change, Lily! Just have a few minor comments.

Also, can you please address the codacy review: https://www.codacy.com/app/ydk/ydk-gen/pullRequest?prid=1050462&/login

:param repo: Reference to an instance of :cpp:class:`Repository<ydk::path::Repository>`
:param address: IP address of the device supporting a netconf interface.
:param username: Username to log in to the device.
:param private_key_path: Path to private key file.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can you indicate if this is the absolute path or relative path?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've tried both and it takes either, but yeah I can specify that.

address, port, timeout);
}

// NetconfSession::NetconfSession(
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can the commented lines be removed?

CHECK_NOTHROW(provider.get_capabilities());
}

// TEST_CASE("CreateKeybaseAuthRepo_Domingo")
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can the commented lines be removed?

public_key_path = public,
port = self.port)

# private = "%s/domingo_sshkey" % dir_path
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can the commented lines be removed?

@ghost ghost merged commit 48217e8 into CiscoDevNet:master Nov 9, 2017
@ylil93 ylil93 deleted the keybaseAuth branch November 27, 2017 18:15
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant