Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I65f77f1206484ee374a23fb45824e04ff4de5580
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
|
|
Change-Id: If39a2f4d1db07a406c4552cc967f9308a2163d61
Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
|
|
Change-Id: Iedb7935735cc9836fb1cb11856d38ec1d090e6ba
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
|
|
Change-Id: I99b630f97144770849679a04efccaf7fc9868cb6
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
|
|
Change-Id: I6ba9d0017cc42a4cafe3790e563e206d33c211b3
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: 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>
|
|
MPLS API changes were introduced by:
https://gerrit.fd.io/r/#/c/10781/
Change-Id: I0423a4cfdf3f0654324118a1d34864a079bff5d1
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Depends on https://gerrit.fd.io/r/#/c/6924/
Change-Id: I80597cb2846d174a548a5abf1e4add0ba0e17186
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Adds option to throw specific exception on non existing mapping
Change-Id: I1903ad8d0d660380680f99f0252e7ec6d9c8862d
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I744c3bc4962295b307b718764adb14035ee13d1d
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>
|
|
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>
|
|
- 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>
|
|
Reference must be checked while removing to prevent
dead references
Change-Id: I37cb426f73a3fa64d4e6795062d8d7affc0cbb2b
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>
|
|
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>
|
|
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>
|
|
- change groupIds
- change packages
- update poms
Change-Id: I343c5a292a67de1dd50687870ca4ab5b7276e93e
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Added mapping context between adjacency id(HC side)
and combination of remote and local eids(vpp side)
Change-Id: Icbba9130a82b7af51b23e6d6d68fcfbf49e66c99
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Provides logic for creating scoped keys
Change-Id: I126bcb9255b4f8a3f2585f50e6e718948581e7f0
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Change-Id: I9a7783bf072b2e2396f0fa1a784bcb57adb689b4
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
|
|
Change-Id: I3e57b09733b8c7060445ed1af7a5edb3348dd4e1
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
|
|
Change-Id: If55fdafd6ed0a9c6acb9de74bf64154d3f26b2d5
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
|