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

Query: any API to terminate the particular client's netconf session with particular user from application #1617

Open
sumnimavn8 opened this issue Jul 31, 2024 · 5 comments
Labels
is:question Issue is actually a question.

Comments

@sumnimavn8
Copy link

Hi @michalvasko,

From our South bound application connected to netopeer server, we need to terminate particular client's netconf session,
any API available to kill the session for particular user.

Regards,
Sumnima

@michalvasko
Copy link
Member

Yes, not surprisingly the /ietf-netconf:kill-session RPC.

@michalvasko michalvasko added the is:question Issue is actually a question. label Jul 31, 2024
@sumnimavn8
Copy link
Author

@michalvasko Can this be done from the subscribed application instead of netconf client application to terminate the session.

@michalvasko
Copy link
Member

You cannot terminate NETCONF sessions by sysrepo clients. They would have to create a NETCONF session first.

@sumnimavn8
Copy link
Author

image

Is it possible for the subscribed application to terminate netconf session between Netopeer2-server and Netconf client?

@michalvasko
Copy link
Member

michalvasko commented Jul 31, 2024

Like I said, it is not possible and your graph is not accurate, subscribed application is not really connected to netopeer2-server, which can be achieved only by a NETCONF session. Whatever communication is occurring is secured by sysrepo. But, nothing prevents the application from locally connecting to the server to execute kill-session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:question Issue is actually a question.
Projects
None yet
Development

No branches or pull requests

2 participants