-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from network-analytics/feature/add-yang-push
Feature/add yang push
- Loading branch information
Showing
37 changed files
with
999 additions
and
520 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,6 +138,7 @@ dmypy.json | |
cython_debug/ | ||
|
||
# own custom files | ||
captured_udp_notif.pcap | ||
*.pcap | ||
pids | ||
.DS_Store | ||
yangs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"ietf-notification:notification": { | ||
"eventTime": "2023-03-25T08:30:11.22Z", | ||
"ietf-subscribed-notification:subscription-started": { | ||
"id": 1011, | ||
"target": { | ||
"ietf-yang-push:datastore": "operational" | ||
}, | ||
"transport": "ietf-udp-notif-transport:udp-notif", | ||
"encoding": "ietf-udp-notif-transport:encode-cbor", | ||
"ietf-yang-push:periodic": { | ||
"ietf-yang-push:period": 100 | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
src/resources/json/notifications/push-change-update-subscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"ietf-notification:notification": { | ||
"eventTime": "2023-03-25T08:30:11.22Z", | ||
"ietf-yang-push:push-change-update": { | ||
"id": 2222, | ||
"datastore-contents": { | ||
"yang-patch": { | ||
"patch-id": "patch_54", | ||
"comment": "Changing encoding to JSON and increasing the period to 10 minutes", | ||
"edit": [ | ||
{ | ||
"edit-id": "id_change_1", | ||
"operation": "merge", | ||
"target": "/ietf-subscribed-notifications:subscriptions/subscription[id=2222]", | ||
"value": { | ||
"ietf-subscribed-notifications:encoding": "ietf-subscribed-notifications:encode-json", | ||
"ietf-yang-push:periodic": { | ||
"period": 60000 | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.