Age | Commit message (Collapse) | Author | Files | Lines |
|
Unused code, imports, etc.
Change-Id: Icb19d6a877d5ddbfd85caa86c4e62880e4db3c44
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Exceptions are Serializable.
Fields of Serializable class must be either Serializable or transient.
But DataObjects are not serializable, and there is really no reason to
serialize UpdateFailedException.
This patch excludes fields of the UpdateFailedException
from serialization process to fix Sonar warnings.
Change-Id: I1eb9408289241bb4fe6f712ed9208f8460eef317
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Fix isses reported by Sonar
thanks to IntelliJ's code inspection.
Change-Id: Ief7b4307d4b90e107f010d7feaa307776afaf947
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Serializable classes should have serialVersionUID defined.
Change-Id: I0ad79f6d82ed72bcea521c4cafc53219ff82a7fa
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Unlike InetAddress.getByName(), Guava's InetAddresses.forString()
never cause DNS services to be accessed.
JDK equivalents whenever you are expecting to handle only IP address string literals,
so there is no blocking DNS penalty for a malformed string.
See:
https://google.github.io/guava/releases/22.0/api/docs/com/google/common/net/InetAddresses.html#forString-java.lang.String-
Change-Id: Id1fc5fa45465b0e0b3aea7d60b9fdb855240d902
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
* guava bumped to 22.0 (same as used by ODL)
* use 4K RSA for SSH server (related to bouncy-castle bump in ODL)
- based on https://git.opendaylight.org/gerrit/#/c/60138/2
- also fixes HC2VPP-207
* removed some yang models from netconf-whitelist.xml,
that are no longer present in ODL dependencies,
* increased timeouts in distro tests, because generating 4K RSA key
my last longer (especially on slow jenkins nodes).
* EmptyMountPointService exposed to enable reuse by notification
and restconf providers
Change-Id: I2ff32bd7f0298716210fcfee4918007a42fab171
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Follows infra/notrthbound/netconf dependency direction.
Change-Id: Ie29115e2b0b969d33270493c6d6cc4e9bda5e009
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Defines wildcarded writers for BGP extensions to be able to
write theirs respective part of ApplicationRib
Change-Id: I0057b59c5977d5f75e0bc3c0c8eae9b8cfdf0f85
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Adds option to specify subtree writer that can handle whole subtree
of nodes without having whole subtree specified. Its checking
if node is children at runtime, rather than having pre-computed tree
Change-Id: Ic46f2bd6de84f0dd14865825399f5a90a1f80859
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
If indirect update(delete+create) fails in a way, that delete passed,
but update part failed, delete part must be reverted
Moves reverter creation to MDTG and test cases related too it to
ModifiableDataTreeDelegatorRevertTest
Fixes tracking of allready processed changes by tracking them
from perspective of processModifications() method
Introduces UpdateFailedException as replacement
for BulkUpdateException(now thrown also for single updates)
Separates ReverterImpl from FlatWriterRegistry and ads unit tests
Change-Id: If0066d0716d9476be89b1d99985b6745becac15e
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Increases number of iterations and reduces iteration time,
to produce more representative results.
Also describes what each annotation/parameter is used for
Change-Id: I0d8b693620c01a617870cc1999bfefbd2e0377fd
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Provides maven modules per bgp extension.
Defines common configuration that can be used to define new
extensions(AbstractBgpExtensionModule).
Change-Id: I1c8ff65b6f9aa5474026f4bdf42476bd0559208e
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I93df9e6b65273c82da308a194f4fe6488c6ce5e1
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I64bcd7e45da5d7431ba436ff6ad1ac62cd1d1051
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I896f1aae3b71e21bd6127aedf22faef07a132daf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ic19175c90fbd91ba81aaa812f735c03eb9c9a836
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
* introduces jacoco-it.exec which stores
aggregated IT test execution data,
* configures Sonar to use jacoco-it.exec
to report IT coverage,
* marks following modules as integration tests:
- it-test
- minimal-distribution-test
- bgp-distribution-test
Change-Id: I538c1febb6112a6abad29061f6b00259a0d79f9f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
ModificationCache might store huge amount of data.
After DOs are retreved from readers it is not used anymore.
Change-Id: I66d57047212fed02321c416af3608c4998315ce7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I079c8ceef84cda43159e1823fe42ad77cdc981e8
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: Iae8a7d27ed4ba778abe5bdbb937f55fa4d7a6638
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I279f77fcada863c7ece2c2368fc4b5f957b45435
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I4c60d0ea569e85b23a9d0127ef496545fc475a61
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Also provides ignore option for default module list generation
Change-Id: I9e10215491c964e6e88f90d6a3ad4335c94ec7d2
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
and close the modification from transactions.
This enables cleanup of underlay resources per transaction.
It is not needed when managing VPP, but might be useful for
other use-cases where underlay transactions are involved.
Change-Id: If14197052172be0158fd7efb5ee1794935d576bc
Signed-off-by: Maros Marsalek <maros.mars@gmail.com>
|
|
Binds correct DOMDataBroker for context
Change-Id: Id09e77d6223a9c322e98879ccb5824539b5d2ce6
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I6875874f5b388a4d289c538f2d3dbfd4ff6feec3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I6ee37f9e39842468f746656dff53b98c2b3796ba
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I566c8ce15ac1cbf932c900812c12bd9c56b223f7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
If customizer does not support update directly,
updates for its handled nodes are broken up to delete + create pairs.
Change-Id: I2929109e8c9a1db0bef108367cf7d839135ce173
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I3f65dffad169634e5cf273d8568066b7f15bda37
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: If57a5414153cb983138872c7a1ded7c7066b1b6d
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I5cf4317e5838470d1e792090c67d97db76ed14f2
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
https://gerrit.fd.io/r/#/c/7411/10 moved HoneycombNotification2Netconf
instance creation out of distribution's Main.
HoneycombNotification2Netconf is not used in any provider,
so needs to be initialized eagerly.
Change-Id: I1a5cfe6eb83b75a0b175052a8bda32eb4619218e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I63fa239e34178ab03c4eecd421bf19d80303d30e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I3a77a35fb039acb1e0a138450883922e9a02683f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit 756ffae6576fe50c052950418627be4a1d21f996)
|
|
BGP peer configuration is no longer read from bgp-peer.json file.
Netconf/Restconf is can be used instead.
BGP peer configuration in HC follows openconfig-extensions model (as in ODL BGP):
* http://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html#bgp-peering
* http://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html#bgp-application-peer-and-programmable-rib
Change-Id: I91aa6c4fc0923edbacf6cd10abd3957569a4f8c6
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit a3d562afdd96d4c37fe608af99f364e879ee92b6)
|
|
Change-Id: I49a201b8e027d229a60bb76abe9b5688af7b7cdf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I459425f4ee8f43d0bf196d2c762e741c58667907
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
- Netconf configuration included under netconf.json
Change-Id: If2a51d689e9bfc950da73f15a438277839140f8a
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
- Restconf configuration included under restconf.json
Change-Id: I45f503d3ef383bd6e3d356308d3212c7314b7a28
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: Ib6fb7cb8a4d98f123981b11f85bcdd0a7fb4d8ba
Signed-off-by: lijingjing <li.jingjing3@zte.com.cn>
|
|
Change-Id: I6294fc266b704568d4e093a50d615f96eac153be
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Properly define relativePath for parent projects.
Change-Id: Ia9759f98e2266795b2794dd699a2fe4940159a47
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Use module configuration to enable/disabe BGP.
Also hides BgpExtensionModule module to the user
(until HONEYCOMB-363 is fixed).
Change-Id: I8294d080138a0bcf640420484b76c089aa332d93
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
This change is necessary to break dep cycle, that would by introduced
by splitting netconf and data-core modules. Also allows to reduce
use in hc2vpp(some project incude whole minimal-distribution-core
just because of this one interface)
Change-Id: I7744b4dc78f6d6797263b10bbc4ead545a2f6593
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Separate BGP distribution was temporary workaround
for HONEYCOMB-358 and (partially) HONEYCOMB-360.
BGP northbound interface is disabled by default.
Change-Id: I72a0f83f40ea96bee478be7d6560f2112611d80f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Iee0644e01ad21f20adbc36fb8ace556e5ce4a8c4
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: Iefa1c4a7388c628c9527a00b13be59d98db640ec
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ia1a3f44c7dae0b4b0be99f96abb017e1b022ec32
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I5278f91ea06f57c84b44a8458ef44469ebd0cf84
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|