summaryrefslogtreecommitdiffstats
path: root/java/jvpp
AgeCommit message (Collapse)AuthorFilesLines
2019-06-17Skip CRC field for typesHEADmasterMichal Cmarada1-6/+7
VPP doesn't include crc field in types anymore, therefore we need to skip check if it exists. Change-Id: I1c6c7b72f22524387c15728b795d342011770c60 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-05-29fix union and object type collisionMichal Cmarada1-10/+32
if Union is enclosed in an object with the same name two variables with same name are generated in translate function. This fixes this issue by adding "Union" suffix to union class variable Change-Id: I4158083c5f0efc409a9d4bedeca2ebedb517692e Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-05-16fix signature bug for enumsetsMichal Cmarada1-4/+19
Change-Id: If28bb60eb58e1649c5bee0d707b95d5879e677b2 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-05-15remove VNET_API_ERROR_IN_PROGRESS error handlingMichal Cmarada1-4/+1
VNET_API_ERROR_IN_PROGRESS error was removed from VPP. Removing handling for non-existing error code Change-Id: Id4ece31643dbf7997c3a768cb3e2a6c7b035f0de Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-05-03Fix enumset values for types other than u8(byte)Michal Cmarada2-7/+8
Usually enumsets use integer as its base type, however to reduce memory usage in VPP less memory consuming types can be used. This fixes enumset generator so other types can be used (byte, short...) Change-Id: I6c02153eecb879038f833491b0d7a4324d6ac102 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-05-03fix vpp string type api implementationMichal Cmarada1-0/+2
- separate static string functions to string_t.h library - ignore string limit value for now. We would need to create wrapper class for string to support max length in java. API example: [ "string", "version", { "limit": 32 } ] Change-Id: I60a8a2c56397d54d49544551dc91733e12a0a0ea Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-03-20Fixes EnumSet translationTibor Král2-8/+34
Change-Id: Ic78a2523b766456e888c3468452a4685b8798dbe Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2019-03-15fix string variable nameMichal Cmarada1-2/+2
In case of strings if the field name contains name with underscore it wasn't converted to camelCase style. It was working for simple cases such as "cmd" but for more complex field names like "name_filter" the variable wasn't translated to "nameFiler" but remained unchanged. Change-Id: Ia53fdafd1cb53bcaba72e4d0433d71980d498e4c Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-03-15introduce boolean typeMichal Cmarada1-0/+1
Change-Id: Id8bd2473a6e16f6e8f8f85c495ce1ad2dad286c2 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-03-04Update package namesMichal Cmarada12-84/+84
updating package names from io.fd.vpp.jvpp* to io.fd.jvpp* Change-Id: Ia1634db8f0875ff6ecfeddc281041cd49c4aacc2 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-03-01introduce EnumSets for Flag typesMichal Cmarada5-4/+260
- this enables to set multiple enum options for flag types in VPP Change-Id: If7a59f8c3a47f712f6f591e1ce2547b15e0b2afb Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-02-12fix processing of enum value in jniMichal Cmarada2-1/+5
Change-Id: Ia18a9526190ede32b4de0eb486ee8e42e01fa644 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-01-23initial commit19.04-rc0Michal Cmarada19-0/+3559
- migrates source code from VPP code base - modifies cmake configuration - adds cpack configuration for deb and rpm packaging - adds documentation Change-Id: Ib6a39030f6c47c8ae654fcb886c618e159fb63b4 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>