Add tool to measure southbound notification performance 15/94915/7
authorOleksii Mozghovyi <oleksii.mozghovyi@pantheon.tech>
Wed, 27 Jan 2021 12:37:19 +0000 (14:37 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 21 Feb 2021 11:36:51 +0000 (12:36 +0100)
commitaa9a4c4f89aa9414834c4c67f082a4d7b7e15540
treead94ce5726a7fe5095ecc08e2e4d8d02ce222003
parent96eb5a33f9406e0c5d34fdab6358e9bb0c3797df
Add tool to measure southbound notification performance

This is an updated version of the tool existed in coretutorials project,
aligned with the latest API changes
- Tool is packaged into a new feature odl-netconf-test-tools
- For the testing purposes models from the original coretutorials
project are used
- Tool listens for mounted devices with prefix "perf-"
- Notification counter is only applied for devices that end with the following
pattern '*-notif-([0-9]+)', and the number after notif suffix indicates
how many notifications should be counted
- Once the mounted device is ready tool invokes create subscription
  request towards device, and counts incoming notifications

JIRA: NETCONF-759
Change-Id: I5a584032dca9a40e90dec23186562543f8752bad
Signed-off-by: Oleksii Mozghovyi <oleksii.mozghovyi@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
13 files changed:
artifacts/pom.xml
features/netconf/features-netconf-testing/pom.xml [new file with mode: 0644]
features/netconf/odl-netconf-test-tools/pom.xml [new file with mode: 0644]
features/netconf/pom.xml
karaf/pom.xml
netconf/tools/netconf-test-perf/pom.xml [new file with mode: 0644]
netconf/tools/netconf-test-perf/src/main/java/org/opendaylight/netconf/test/perf/MountedDeviceListener.java [new file with mode: 0644]
netconf/tools/netconf-test-perf/src/main/java/org/opendaylight/netconf/test/perf/notifications/NotificationsCounter.java [new file with mode: 0644]
netconf/tools/netconf-test-perf/src/main/java/org/opendaylight/netconf/test/perf/utils/TestUtils.java [new file with mode: 0644]
netconf/tools/netconf-test-perf/src/main/yang/Cisco-IOS-XR-ip-static-cfg@2013-07-22.yang [new file with mode: 0644]
netconf/tools/netconf-test-perf/src/main/yang/Cisco-IOS-XR-types@2015-01-19.yang [new file with mode: 0644]
netconf/tools/netconf-test-perf/src/main/yang/Example-notifications@2015-06-11.yang [new file with mode: 0644]
netconf/tools/pom.xml