Age | Commit message (Collapse) | Author | Files | Lines |
|
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: Ic9cf2e4dd47fa9a84a81ad2b85e0ab19caa01c2d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I2215632ae5864f37738f5a4b907f8b2894ab849b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ic664d0da1f3f253ee7d698c651354015792cc278
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
It was not used by VPP, recently removed by:
https://gerrit.fd.io/r/#/c/9771/
Change-Id: Ic838e4daf95a98d675b3f0fda6e5fad242eb5bbd
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
The vpp-api-java package is not directly used
by honeycomb. Java API bindings are included in
honeycomb package.
Change-Id: I75dafd79cc8e9f1fc551cd43fcf3a46738b0dd2e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I3ad4e1f1aae9ed52911acbed11d931349ad94da9
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Provides examples of MPLS SR config using Honeycomb
for the following topology:
A
/
vpp1 – vpp2 – vpp4
\ // \
–– vpp3 –– B
Each vpp node represents docker container
with honeycomb running.
A and B represent egrees nodes modeled using tap interfaces.
Scripts for building topology and Postman
collection with example requests included.
Change-Id: I96099d9b5b2af50bf48962c869ad5b2474673227
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ib13497d00f244a001ec6b0605745d76e79a16ccc
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I9f7cf7d7ecb97d7da449dac679f2d15438ac4970
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I755a23ba279a84600edfa2ddef89c2fe645c7945
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I3cfe9d53cb1a8c992ebd972c835f76611f3a5727
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I1eccee43fb34ebe31559f01c4eacbcf45897685a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Limitations:
- only IPv4 next hop address
- swap is supported only for the last label in the stack
- only single outgoing label is supported.
Change-Id: I9479e3d322561ed94683bd206e7e7852250d788c
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Ic6a2da08a8839bb42366b124737bb5243671815b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Translates pop-and-lookup operation of
/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpl:mpls/
hc2vpp-ietf-mpls-static:static-lsps/static-lsp
to mpls_route_add_del call.
Configuring mpls lookup-type,
as defined in vpp-mpls yang module,
is required.
Other lookup types (ipv4/ipv6) are not supported yet.
Change-Id: If0580c6db69ee6c5f22a32bde031dbb6f852420f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Introduces vpp-mpls@2017-11-03.yang, which adds possibility to specify
VPP specific label lookup options:
- mpls-lookup-in-table
- ip4-lookup-in-table
- ip6-lookup-in-table
Equivalent of CLI command: mpls local-label XXX-lookup-in-table N
Change-Id: I32c474ae3759922f2bc5487603baf7d9871edb7e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Also fixes other issues found by static analysis
(unecessary boxing, formatitng).
Change-Id: I063ccf4334ebdecf944ca1470e677c95a0fd0bdd
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>
|
|
Cleans classes that uses custom IP translation code.
Change-Id: Ia22a651d0bf0fcce143e8bf9aabcc326cfd50c2e
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>
|
|
Examples of requests showing how to enable/disable
MPLS on given interface and how to push labels.
Change-Id: If6f6f708a9af53131ef57fede07a77fc0943c9ee
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Translates impose-and-forward operation of
/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpl:mpls/
hc2vpp-ietf-mpls-static:static-lsps/static-lsp
to ip_add_del_route call.
For single outgoing-label, use simple-path out-segment.
For multiple outgoing labels, use path-list out-segment
with single path (multiple path support is not implemented yet).
See postman collection for examples.
TODOs:
- only IPv4 prefixes and next-hops are supported (HC2VPP-264).
Change-Id: I318e722edbc1f7ffd3eff2f308fc73c2062283c0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Hc2vpp 18.01 is using ODL Nitrogen since
https://gerrit.fd.io/r/#/c/9258/
and
https://gerrit.fd.io/r/#/c/9259/
Change-Id: I4d7f2b28b0674b7ab7e248caba84e62a21c1c977
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I0f1e2085f1687e1c8c0edcc526af048a429788e8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Includes examples of snapshot versions for honeycomb
packages that preserve package ordering.
Based on https://gerrit.fd.io/r/#/c/9143/
Change-Id: I117036f89ec92b5c1bc81cce72d9b1383df6543b
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>
|
|
Translates
/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface
to
sw_interface_set_mpls_enable
which is equivalent to:
set interface mpls [...] enable
MPLS table is created before configuring MPLS
using mpls_table_add_del (required since VPP 17.10).
Reading MPLS configuration state is not supported
(VPP API is missing).
Change-Id: I3f1b987c3669b0836a27649a711e75d0dc37a779
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Adds following models:
- hc2vpp-ietf-mpls
- hc2vpp-ietf-mpls-static
- hc2vpp-ietf-routing-types
Models were modified due to YANGTOOLS/MDSAL issues
and some problems with the models itself.
More information can be found in the YANG files.
Original YANG files were downloaded from
https://github.com/ietf-mpls-yang/te/
Change-Id: I3d04a3bf8be026fbe74a6f5833d38e980490e737
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I7b1c0683cf21a6f5effc1e83eab652ad584a8c7f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
requires https://gerrit.fd.io/r/#/c/8434/
Change-Id: I226192776a4285ee498d72fd000051d29ad6a974
Signed-off-by: Jan Srnicek <jsrnicek@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: I4f808d0685dd9096f73f528fe11af87afb6cb1e3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: Iba106fc52a8833b9ff34342b3ed3801ecbd22749
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
https://gerrit.fd.io/r/#/c/8486/ moved
BGP multiprotocol extensions configuration to seprate modules.
Change-Id: Ia316d75d4394d0ed6da459e0aa949d3a47a1a1a2
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Updates release notes with
- minimal params to start hc
- minimal params to start hc and be able to write something
- how many data samples are possible to be written with params above
- how much memory is taken in raw object size
- what is total observed footprint
Change-Id: Ia42dcc5075ff70a696c973651327bf62ee84bb65
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Builders were removed after bumping ODL dependencies to Boron:
https://gerrit.fd.io/r/#/c/3508/
Then due various issues, e.g. HC2VPP-62,
Boron bump was reverted:
https://gerrit.fd.io/r/#/c/5064/
https://gerrit.fd.io/r/#/c/5065/
HC is using Carbon now, so builders can be removed again.
Change-Id: I1a04dddc798a19842765263bde48a33447480992
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
table-id(VRF) or bd-reference(BD) must be mandatory,
because if assignment of vni to vrf/bd does not exist,
and local/remote mapping tryins to reference such vni,
api call to vpp will fail with invalid value error
Change-Id: Iaeaac1fe698ccc783313063906532bcf268a99fb
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Endianness of policer_add_del parameters was
changed to network order:
https://gerrit.fd.io/r/#/c/8548
JVPP flips ordering, so there is no need for additional
convertion anymore.
Change-Id: Ib7c5fafe240e0607819800c4cf4d37f4c4a8e1c6
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
LocalMapping must be writen after/deleted before Locator set,
as it has reference to it
Change-Id: I8a7299d25e0fb5c2ffb83a34f478d82b2edfa749
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|
|
Also updates nsh-sfc jar to 18.01-SNAPSHOT
Change-Id: I25abe1f226e37f7460fedccaff7e50e2e97e97c1
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
nsh_sfc is using outdated jvpp-registry dependency which
breaks build for hc2vpp, until dependency is updated
nsh_sfc is going to be excluded from hc2vpp
Change-Id: Ib7ca2fda0c80257c7194336a55b071c70aebfe21
Signed-off-by: Matej <matej.perina@pantheon.tech>
|
|
Required by https://gerrit.fd.io/r/#/c/8377/
Change-Id: I91b5adda6ec8d9b011ebc1287fd2ec9811164b04
Signed-off-by: Matej Perina <mperina@cisco.com>
|
|
Allows removing all lisp-feature-data.
Also fixes ordering for itr remote locator set.
Change-Id: Ib181c724dfa76f5ac380eec5e50f5d76f6b01389
Signed-off-by: Jan Srnicek <jsrnicek@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: I424ca25cf1d61f0c135e91f16ce85bf8efe6290c
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>
|
|
Change-Id: Iaa8d8ccb6ade28f9b62c398610638f5ba465fffd
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
|