Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ic664d0da1f3f253ee7d698c651354015792cc278
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I9f7cf7d7ecb97d7da449dac679f2d15438ac4970
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Fix isses reported by Sonar thanks to IntelliJ's code inspection.
Change-Id: I846590213e3e8ac7d3539d4de9940b32818625d5
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Use efficient factory methods for ietf-inet-types DTOs
where possible.
Also cleans up some duplicated and unused code.
Change-Id: I58f4163edba0dcd30e5e044cf701788446d86a0f
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: I7972c09f1f0a3a2688021302acbf6df112be7f72
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Hc2vpp supports 48-bit addresses.
VPP returns 64-bits, so ignore extended part.
This patch updates MAC address handling broken by
https://gerrit.fd.io/r/#/c/9090/
Change-Id: I7cc8d75e19f1f56e1f1adc23848a4a9baef87206
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
https://gerrit.fd.io/r/#/c/9090/ changes mac representation
from u64 to u8[]
Change-Id: Ia82d5652926f8bd10c1c8fc3ad0e147b35dbee4c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Also sets version of vpp package dependencies to 18.01
Change-Id: I9d84915e206cc16c87479f94d4b8738899479cea
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Id2b6e7c5259190808b7093dc18538427e4034fc0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Ietf models now contains case table-lookup to be able to define
lookup to secondary table. It must be separated to dedicated case
as combining secondary-vrf and other next hop types(simple,multi,special)
does not make sense, its either you define lookup to table,
or you specify next hop of some kind.
This patch works properly only for write,
as read is affected by VPP-994/VPP-995.
Read at this state can detect that route is using table lookup,
but can't detect table that is used for that lookup.
Also, HC2VPP-237 must be done in future
Change-Id: Ia6976b35c6c1712d8add60beea7b0edbc4536974
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Prevents honeycomb from attempting disconnection on different instance
of vpp that it was connected to
Change-Id: I8dedcaebb08ac75dc0fb9568ab66a011b1b1b676
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Should fix https://sonar.fd.io/issues/search#issues=AViCMnel_ATy1iJVe-79
Change-Id: I798930dea057cac93ab95b6c1d6f660a21d84e74
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ic370f72c16beaf56003021a6a89f751de8b744b8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ie1503af359430c47ca71f4ed0230e79daf5f04d4
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I91353a0c780ac2f61d15c677c25f647f826f71c3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Also makes InterfaceChangeNotificationProducer notification translation
code more defensive.
The issue was revealed by HC2VPP-216 and HC2VPP-220.
Change-Id: I20792a51743ae621d86c1b9066d680bc2303ed82
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
and notification producer
Change-Id: I70e749de5b290c84e86a28625d5ec79c98de80f2
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Requires https://gerrit.fd.io/r/#/c/7681/
Change-Id: Icd1d5dfb60f5eb79f9f4ab46f38d56f2b01672da
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Depends on https://gerrit.fd.io/r/#/c/6924/
Change-Id: I80597cb2846d174a548a5abf1e4add0ba0e17186
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
DEGUB is only enabled for fd.io.
Should significantly improve build time.
Change-Id: Iabc2c82dc6eed335b8b025ff92e129cc07ece03f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I3915e5b37043897ac43ef6853af6d26c39eba768
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
|
|
Adds option to throw specific exception on non existing mapping
Change-Id: I1903ad8d0d660380680f99f0252e7ec6d9c8862d
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Also sets version of vpp package dependencies to 17.10
Change-Id: I4e139ff2d485933c0de3339db50714a5c72e0a9e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I744c3bc4962295b307b718764adb14035ee13d1d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Accidentially introduced by https://gerrit.fd.io/r/#/c/7386/
Change-Id: Ie862dac542a3384fff42293b76d895b0dbf5b806
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I86eb100ca96169c7cf8df7ba9f2a1c7e3e75d77f
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
The minimal-distribution-core was introduced by HONEYCOMB-373.
Adoption is needed to remove indirect dependencies on various
HC infra yang models to decrease footprint
(HONEYCOMB-358 loads yang models based on maven dependencies).
Change-Id: Iba639efb893deb8d51de09009750542f78dfdd50
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I96bd342e84742f6c6ab7d4c6aa687bcb1baf9e7c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I50155013874a9e69d926a48a212d402e93945d9b
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Also order of revisions was sorted starting from most current.
Change-Id: I21fd35cfdb1cc5601b3fb40c9f3755bd3b995b14
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
All apis starting with prefix lisp*** will be abandoned, so refactoring
to one*** variants
Change-Id: I603b3ce54ef1f8b6cefaaccedb87ccbf3ea38dd0
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Allows dynamic configuration of jvpp timeout
Change-Id: Iab113ec33f1efd8d150f0e525ef548a64ebf1a0b
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Also bumps honeycomb and vpp dependencies
Change-Id: Ice9863b8afc1895d43b97953ed6d93e739730f5e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
- provides single root (hc2vpp-parent) for all projects to make
site plugin work
- fixes relative links in child poms
- adds missing project names
Partially based on https://gerrit.fd.io/r/#/c/4720
To test:
- mvn clean install && mvn site site:stage
- open
hc2vpp/target/staging/hc2vpp-parent/hc2vpp-aggregator/index.html
Change-Id: Ife5a8555748221cd8bcc8ad2fa48f1d0e98fff1d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
- initialization test support for container and list customizers
- test samples
Change-Id: If3fe4faf82a86c43fafdfab694a4388d50f61de4
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
- all dumping logic moved under common abstract classes
- added tests
Change-Id: Ifdee84795bd8cf6f0d29349dd2cfcf9b2bbec1c9
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I8c1d20b2be23bce27903b9d4149f59d3b83aacaa
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Removed mandatory statements
Fixed multiple NPE
Change-Id: I30af417b0594d9634a9352f7721285257fbcee1e
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Reference must be checked while removing to prevent
dead references
Change-Id: I37cb426f73a3fa64d4e6795062d8d7affc0cbb2b
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Depends on
https://gerrit.fd.io/r/#/c/4632/
Nsh stays on 17.01, till owner provides higher version
Change-Id: I1f51699b6809d30dd0272301ebb1074a42863618
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Also updates version of honeycomb dependencies.
Vpp API version bump moved to separate commit due to
issues with jvpp jars.
Change-Id: Id336393b00fe05e8ecee9b547dcfc6a49e1a98ec
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Contains
- Ipv6 read/write Support for Interfaces
- Ipv6 read/write Support for Subi-Interfaces
- Postman collection with relevant requests
Todo
- Test coverage - HC2VPP-11
- Refactoring - HC2VPP-12
- Could be related to - HONEYCOMB-328
Tested
- read/write for both interfaces and sub-interfaces - passes ok
- init with following scenarios
- vpp clean/hc has data - passes ok
- vpp has data/hc clean - passed with error for sub-interface described in HONEYCOMB-328.
The actual ipv4/ipv6 part passes ok
Change-Id: Ib18acb9b18d6374dc5847e30db4049696d512e72
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I8892479123091e43bf191c544b6628d6254be564
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I6dcc1ef1abc9d314906d6d4fcc746dcfd28ec5fc
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Not covered by this patch (moved to subsequent commits):
- postman collection
- distinguish ingress/egress ACLs while reading assigned acls
- proper support for acl tag
- unit tests improvements
- read for acls (not necessarily assigned)
- initializers
Change-Id: I5a198ce1a6e20d0b1d95b4d2d83d0464fb86580c
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Depends on https://gerrit.fd.io/r/#/c/4137
Change-Id: I11cc690bf5d12db5c7223f46a19c3f555213aead
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I61bd9c78ad4a1a654ed3d54e76163724a738913f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Read/Write support for ipv4/6 static routes.
Restriction due to vpp implementation described
in readme.
Change-Id: I328f406a9b7cb8781f8becf98eca293cebe66859
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Ipv4/6 address logic refactored to not use
InetAddresses.fromLittleEndianArray to
prevent unnecessary reverting of address arrays
after fix introduced by VPP-132.
Removed unused ***reverted variants of conversion
logic.
Tested with these plugins
- Lisp
- V3po
- Nat
Change-Id: I6a0728f8b3dffd04e2edd822ec61542216cca824
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Refactored setUp() method in WriteCustomizerTest
to not trigger http://errorprone.info/bugpattern/JUnit4SetUpNotRun
while used in combination with @RunWith(HoneycombTestRunner.class)
Change-Id: Iba56b39399ddd7678dda97e094e935a3f02dd22c
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|