diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2019-01-10 10:57:50 +0100 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2019-01-10 11:05:35 +0100 |
commit | 08266e35878f198e2fa59fcfc9f0fc3a4b1dfbf5 (patch) | |
tree | 1269acfc3bf6fdd47414eb64da3ecad4865e37d6 /examples/bin_api/vpe.api.json | |
parent | 3ef6f210edcf7dd753733d46ec3f2dd5dc795b61 (diff) |
Add support for string types
- strings are now generated as two fields for length and string itself
- aliases are now sorted by name to prevent generating different code
- dependencies are now managed by dep
- binapi files are regenerated using VPP 19.01-rc0~622-g7b01e9e8
- old stats binary api has been deprecated and removed from VPP
Change-Id: Ieb8515c73021339a45f407386f8e3d87dcf4469e
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'examples/bin_api/vpe.api.json')
-rw-r--r-- | examples/bin_api/vpe.api.json | 48 |
1 files changed, 16 insertions, 32 deletions
diff --git a/examples/bin_api/vpe.api.json b/examples/bin_api/vpe.api.json index edefd20..cc5ddee 100644 --- a/examples/bin_api/vpe.api.json +++ b/examples/bin_api/vpe.api.json @@ -81,17 +81,11 @@ "context" ], [ - "u32", - "length" - ], - [ - "u8", - "cmd", - 0, - "length" + "string", + "cmd" ], { - "crc": "0x74e00a49" + "crc": "0xb1ad59b3" } ], [ @@ -131,17 +125,11 @@ "retval" ], [ - "u32", - "length" - ], - [ - "u8", - "reply", - 0, - "length" + "string", + "reply" ], { - "crc": "0x1f22bbb8" + "crc": "0x6d3c80a4" } ], [ @@ -272,27 +260,23 @@ "retval" ], [ - "u8", - "program", - 32 + "string", + "program" ], [ - "u8", - "version", - 32 + "string", + "version" ], [ - "u8", - "build_date", - 32 + "string", + "build_date" ], [ - "u8", - "build_directory", - 256 + "string", + "build_directory" ], { - "crc": "0x8b5a13b4" + "crc": "0xb9bcf6df" } ], [ @@ -432,7 +416,7 @@ } ] ], - "vl_api_version": "0x3ce489e", + "vl_api_version": "0x2cc8d629", "unions": [], "services": { "cli_inband": { |