Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Are there an examples of how to use this API for NETCONF subscriptions/events?

Đang mở
#32 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
api, networking

Hướng nghiên cứu

Start by checking the Netconf-Java API against the linked NETCONF event-notifications specification and the sysrepo server behavior. Determine whether subscriptions are supported, then document a working example or clearly define the missing support; the issue names no files or tests to run.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I am looking to use the Netconf client to subscribe to an event. Basically, whenever a field changes in my sysrepo netconf server, I need my client to know about it. I know there is a spec for this:

https://tools.ietf.org/id/draft-ietf-netconf-netconf-event-notifications-05.html

I am wondering if this Netconf-Java API has that ability to subscribe and if there are examples of it? (I am researching it as I write this, but wanted to throw that question out there just in case).

If this ability is not part of netconf-java, what I may do is just create a loop that simply polls the netconf server every N seconds for updates to the wanted field in sysrepo. Would you consider using the same technique?

Ngôn ngữ chính
Java
Star
90
Fork
64
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Juniper/netconf-java

Tất cả issue của Juniper/netconf-java

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.