Updated git submodules
Project: netconf stable/boron
9cb0992ae1f50604a85bf9de9f627a50468d546c
Bumping versions by 0.0.1 for next dev cycle
Change-Id: I8522635565af46576554223d2367656dbe03c7d9
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Merge "Add serialVersionUID to all java.io.Serializable messages" into stable/boron
Merge "Update netconf-topology-singleton.xml file formatting" into stable/boron
Merge "Remove unused imports" into stable/boron
Remove unused imports
Change-Id: I8079b664133e88a3b35f21a3c41e84e890a8ff46
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
(cherry picked from commit
aa53b02a7523e31dc986ae6f55d469158f1a0938)
Update netconf-topology-singleton.xml file formatting
- Inline the closing statement
- Rename to bean to be more accurate
Change-Id: I2e2052b7b86b12139b2573c0e3828730cc8d606d
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
(cherry picked from commit
fc135be045cdf98fbfa5eecef352e3fc43329fb3)
Add serialVersionUID to all java.io.Serializable messages
Change-Id: I4928273c0d65e782162d099ddbae36a0c9fe1c63
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
(cherry picked from commit
337584868377e343ea943a9268da336325628c70)
Add the RemoteDeviceId at the begining of the log
So it's easier to grep and find things related to one netconf
connector, and also, to keep things consistent with how it's
already done in sal-netconf-connector
Change-Id: I29ee41c699de8287fd6e00f3a04cacb3d17c5fd1
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
(cherry picked from commit
518b77c6c392a18270297705634dd5bff260ea29)
Merge "Bug 6714 - Use singleton service in clustered netconf topology" into stable/boron
Bug 6714 - Use singleton service in clustered netconf topology
Implemented clustered netconf topology with using clustered
singleton service.
Change-Id: I0e71a9934a70c6bce8eeab0644a5bd05c5548a8c
Signed-off-by: Rudolf Brisuda <rbrisuda@cisco.com>
Bug 6256 - OpenDaylight RESTCONF XML selects wrong YANG model for southbound NETCONF
- dataSchemaNode can contains multiple childs with the same name,
thus when looking for child also namespace has to be compared
- added unit tests
Change-Id: I922e96fd2aea686c27ad4683ef7366c6718486c3
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
(cherry picked from commit
87542484718b320055eb1de42b85f90ef7624584)
Merge "Fix tests after merging Change 47121 to Yangtools" into stable/boron
Merge "Bug 5615 - Netconf connector update overwriting existing topology data" into stable/boron
Fix tests after merging Change 47121 to Yangtools
Change-Id: I4bafce0972da4e83fe4575517b5e95808bb21caf
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
Bug 6272 - support RESTCONF PATCH for mounted NETCONF nodes
- distinguish between operation on server or on mount point
- when operates on server then use global schema context and
data broker
- when operates on mount point then use schema context and
broker from mount point
- if broker on mount point is missing then PATCH operation fails
with global error
- contains unit tests
Change-Id: I97135a467209fcb4a5782d1c2677f482b842ff8a
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
(cherry picked from commit
c09b7ffd0f3812a237c82805ea16a67ffdeda89d)
Add xml config dependency to features pom
Configfile added here [0] also needs to be listed as pom dependency,
otherwise distribution-check would fail.
Also added to netconf-artifacts.
[0] https://git.opendaylight.org/gerrit/#/c/44243/10/features/netconf/src/main/features/features.xml
Change-Id: If016aadb03154d83ddd0afa680e8d1d8acd88217
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
(cherry picked from commit
c2272d825c810de0a023661f054cd0ce023e0a77)
Merge "Bug 6023 - Adress for config subsystem netconf endpoint is not configurable" into stable/boron
Bug 6023 - Adress for config subsystem netconf endpoint is not configurable
- added NetconfConfigurationActivator for loading ManagedService
- updating configuration from karaf netconf.cfg file
- edited NetconfTCPActivator, NetconfSSHActivator for run with
cfg values
Change-Id: I5069a9f307a9a9b7c2d79723dc6c1cca0b2cc201
Signed-off-by: Rudolf Brisuda <rudolf.brisuda@pantheon.tech>
Bug 6936 - Fix post request
When post request sends data which already exist, it response with
data already exist.
Change-Id: I2ea60dfe4b8aa4236fbec0fd73b64a6f146146ee
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
Unit test for PostDataTransactionUtil class
Change-Id: I38e1d29daa1598609e1a706b16d1bb2f24012f0f
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
Unit test for RestconfInvokeOperationsUtil class
Fixed so it add rpcError to the result when there is one.
Change-Id: I5e3e924a0e80970f2f754e2ec39d58e4b0a06984
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
Bug 5615 - Netconf connector update overwriting existing topology data
- putting only augmented node 'NetconfNode' to operational datastore
- updated tests
Change-Id: I3153613c9041c36f558e73128d40dd75dece0293
Signed-off-by: Rudolf Brisuda <rudolf.brisuda@pantheon.tech>
(cherry picked from commit
de60ce77c83f1f09bb804f61124fe5c9f439c376)
Bug 6848 - update url pattern of restconf from 16 to 17
Change-Id: I41882d048a3aede5f4c47c3e160537f7a31a1fab
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Bug 6848 - repackage providers for jersey+create xml
and json reader for restconf draft17
*fix tests
*rename tests part from draft11 to draft17
Change-Id: I1315bb693eccc34c78f07ea0acbf45f6ff972455
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Bug 6848 - upgrade XML media type
Change-Id: I16b959a4f325468836477c60d094a1e7473de9e1
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Bug 6848 - upgrade namespace of notification container
Change-Id: I6f50832bc94d809d5ba354ceb17dfdecc0b181bd
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Bug 6848 - Renaming to draft17
Change-Id: Ib76f9f0ed4e86a4e9cc15d82fd4ede5040964969
Signed-off-by: Jakub Toth <jatoth@cisco.com>
(cherry picked from commit
acbc3139281024824f927426562d25a1f764b34c)
Do a proper disconnect when deleting a connector.
Change-Id: I1abba51e331eb1f019e5f2fe741f3836f840aae1
Signed-off-by: Tomas Cere <tcere@cisco.com>
(cherry picked from commit
fc129a55005ce9d0c1cacfb2538e71fbe56ddd2a)
Bug 6099 - ControllerContext#addKeyValue ignores key type when key is derived
type from instance-identifier
* added instance identifier support as value
* JUnit test added
Change-Id: I4f6a070b5814ef2a33b68534d887745a099712c8
Signed-off-by: Jakub Toth <jatoth@cisco.com>
(cherry picked from commit
aa0006992ccc87f68e9810c0dee6c16cf339f544)
Bug 6797 - Fix deadlock on cached schema-changed notifications
Add an atomic state in NetconfDeviceCommunicator to improve the state
transition of close operation, to avoid deadlock while multiple threads
are doing the close.
Change-Id: I2f2c41b86b724eba78a74bfb96c0b499dc7f79a3
Signed-off-by: ykq <yin.kangqian@zte.com.cn>
Bug 6664 - upgrade draft15 to draft16 - change media types
* for XML - yang-data -> yang-data-xml
Change-Id: I56c8cc5439d962ca7a54c931965ccb519f0f0617
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Bug 6664 - upgrade draft15 to draft16 - renaming
Change-Id: Iaaefc58f8615f8ef16ba538d23576ea852be1064
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Fix broken ApiDocGeneratorTest
Patch https://git.opendaylight.org/gerrit/#/c/43500/ changed
the way constraints are handled in yangtools which causes
the faiure of EdgeTest in ApiDocGeneratorTest.
Change-Id: I455d924b69aee0a6cd6304be27656d44a62e6c73
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
(cherry picked from commit
42fca64cadd8bce723dc2b74bcf8cc73143189b0)
Merge "Bug 6343 - Incorrect handling of configuration failures in SAL netconf connector" into stable/boron
Bumping versions by 0.0.1 for next dev cycle
Change-Id: I13c1020747f50264c59e2e2d71e0ab8385d72c14
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Bug 6343 - Incorrect handling of configuration failures in SAL netconf connector
Change-Id: I4fbf06038b4a14c0efecfa6564e69671a3d23bcc
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
(cherry picked from commit
827f758622c4cce82653f3d00507b8a88e7e457a)
Merge "Bug 6594 - Unsupported leaf in identityref in leafref" into stable/boron
Bug 6594 - Unsupported leaf in identityref in leafref
* fixed incorrect checking of variable
Change-Id: I01c631d7bbc22857e1c454a860ac636305301e38
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Bug 6325 - Fix for draft15 update
- transaction chain must be updated
in transaction handler
- adapt utility methods to reset
transaction chain
Change-Id: I20578f97c9a8d002c0ebcc6b8a89a152c1e1c47a
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Bug 6325 - upgrade draft11 to draft15 - added timestamp & etag
*fixed read of data from datastore
Change-Id: I629c909ba05f93f4d662199a86637e966cb6d8e1
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Bug 6325 - upgrade draft11 to draft15 - change get modules
*change modules to modules-state
*chagne modules/module to modules-state/module
Change-Id: I54f04c99484941e1ff59af67f822c2ef73c411b5
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Bug 6325 - upgrade draft11 to draft15 - change media types
* remove media types(for +json and +xml in all cases):
* yang.api
* yang.datastore
* yang.data
* yang.operation
* yang.errors
* add new media type:
* for xml - yang-data
* for json - yang-data+json
Change-Id: I9c1e3a28872c47f691d342a4982eaa3f8bbae16c
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Bug 6325 - upgrade draft11 to draft15 - renaming
*renaming of all occurencies of "draft11" to "draft15"
Change-Id: Ie681c8c511fda87f6d3c862f64667827a9bff1f6
Signed-off-by: Jakub Toth <jatoth@cisco.com>
(cherry picked from commit
bb7dcf7024a5918e72e2035312205f726189a2c4)
Bug 6457 - Delete Cars configuration from Follower produces HTTP 500 Error
* change InterruptedException with Exception
* Ignore unstable tests in RestPutOperationTest + TODO
Change-Id: I93f66dc713781f4dacd7c9f804d8bf71ffc798e3
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Bug 6485 - unstable mount point
* swap result of operation with CountDownLatch.countDown()
Change-Id: Ib042de4ee5d6399a15d7877fef0c9260339380f0
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Bug 5553 - Impl get operations
*package protected impl of container, leaf and module
*fix for new restconf part too
Change-Id: I1e3e1eb1a52158278992df871ba6690dd3b7c640
Signed-off-by: Jakub Toth <jatoth@cisco.com>
Merge "Bug 6251 - Exclude flawed models from mount point" into stable/boron
Merge "Bug 6278: Switch to use odlparent's karaf-parent" into stable/boron
Merge "Bump OpenExi to 2.62.0" into stable/boron
Bug 6251 - Exclude flawed models from mount point
Flawed models that cannot be parsed by Yangtools are ignored when
building schema context for mountpoint.
Change-Id: I32585bcf34ae9df153c7147566828ba887f466de
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
Merge "Bug 6198 - Use sal-netconf-connector to connet device costs too much time" into stable/boron
Bug 6278: Switch to use odlparent's karaf-parent
Change-Id: I13739711964cd58cb0ef148bcb04532883fea19f
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
Bump OpenExi to 2.62.0
This bumps the version to the latest released one.
Change-Id: I10dff28446bb7bdcde86c06fe03075f6a67a2bd3
Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-865: remove String-based getDataChildByName()
Replace usage of deprecated String-based getDataChildByName() method
with QName-based one.
Change-Id: I0108a98bb35082f1fe1b0a3c728fef2e4f43f9b9
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
Bug 6198 - Use sal-netconf-connector to connet device costs too much time
Filter missing sources Identifiers before createSchemaContext in class RecursiveSchemaSetup.
Change-Id: Ic41d4803df0807d799a1e80ceb6639877f006e42
Signed-off-by: Xu Rong <xu.rong4@zte.com.cn>
(cherry picked from commit
57f2e5cc5a34fbecd7a492f3180e9a54d9cd8d17)
Update .gitreview for stable/boron
Change-Id: I05e62c11b732a80c04cf1631cda4e2e3685ac7cb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>