Age | Commit message (Collapse) | Author | Files | Lines |
|
Also sets version of VPP package dependencies to 18.07.
Change-Id: I4be0a5a9217c3e059125e7eb5a36170d02f12b88
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I6ba9d0017cc42a4cafe3790e563e206d33c211b3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
VPP can be run with custom SHM segment prefix:
sudo vpp unix {cli-listen /run/vpp/cli-vpp1.sock} api-segment { prefix vpp1 }
sudo vppctl -s /run/vpp/cli-vpp1.sock
this patch adds optional api-segment-prefix parameter to
/opt/honeycomb/config/jvpp.json file.
Example configuration:
{
"jvpp-connection-name": "honeycomb",
"api-segment-prefix": "vpp1",
"jvpp-request-timeout": 5
}
Change-Id: I7ca298644891602afe7898db88bb90d59b49ce4d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I637842ea6a582676ab305c29b5d8464987537be0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
- added handling of IpPrefixe
- added UnitTests for the whole class
Change-Id: I9fbdcce1ca8734b7415c55559ef65e553e737e44
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|
|
VPP uses byte in range of 0 to 255 but when jni is used
and this type is converted to java byte which has range
of -128 to 127 it will convert it to negative value.
It then fails to create Ip6Prefix from this value.
Change-Id: Ic18686959682c153da2e4ee4a7f7841c9b56e5d3
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|
|
Change-Id: I9f892e528326cb13cafc20bc9e2d7e6a94c7d407
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Also sets version of VPP package dependencies to 18.07.
Change-Id: I87d5f538891d946b3a803afa987ab39c609f1ae1
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I111e463207f1984cf27a557c2921df6ef62ea5b8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Introduces honeycomb.version property in hc2vpp-parent
and adds various honeycomb artifacts to impl-parent
to reduce work when bumping honeycomb version.
Change-Id: I2f31f255aa5234c6890073b93b11f93e5cd444f7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ibe4a45d8c775f957d7e7d2ab215c7e483f1bc011
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ib7825ea727fd8105dd679587059333888caeef5c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Adds organization and contact statements.
Includes copyright in the description of modules.
Fixes minor formatting issues.
Change-Id: I9fa90c24e956d5cb2c3fde8621ed289f383501ac
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I116daf1c7cffdbe311e0308c8fe67809c303aecf
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
MPLS API changes were introduced by:
https://gerrit.fd.io/r/#/c/10781/
Change-Id: I0423a4cfdf3f0654324118a1d34864a079bff5d1
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Also sets version of vpp package dependencies to 18.04.
Change-Id: I0b3faf6418ce9055ad05da41ba4fb022992f3784
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I785627fbe4a1af69feb1f81aacefb33ba0d852b6
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Instead of incrementing all elements of stream
and applying max, first compute max and then increment.
Change-Id: I4e45ffa74d9b8685abd7bafaddc77d1d9850abdb
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
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>
|