diff options
author | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2020-08-21 17:25:53 +0200 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2020-09-03 15:11:13 +0000 |
commit | c94a962279858fb13eaacc689f47aed358373e44 (patch) | |
tree | 0cade1807c10ed53bf7c1b623f4d26da639356f6 /binapi/nat | |
parent | 42d11af03300fe0a3476c32ad8c70297862d9320 (diff) |
Improve doc & fix import ordering
This also updates /binapi
and adds a new make command to generate api
files out of a local vpp repo clone
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Change-Id: Iff7965388a74ecd21af80f10b5a59d4ed8da6340
Diffstat (limited to 'binapi/nat')
-rw-r--r-- | binapi/nat/nat.ba.go | 4 | ||||
-rw-r--r-- | binapi/nat/nat_rpc.ba.go | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/binapi/nat/nat.ba.go b/binapi/nat/nat.ba.go index 811ed63..16b3d51 100644 --- a/binapi/nat/nat.ba.go +++ b/binapi/nat/nat.ba.go @@ -2,7 +2,6 @@ // versions: // binapi-generator: v0.4.0-dev // VPP: 20.05-release -// source: /usr/share/vpp/api/plugins/nat.api.json // Package nat contains generated bindings for API file nat.api. // @@ -14,11 +13,12 @@ package nat import ( + "strconv" + api "git.fd.io/govpp.git/api" interface_types "git.fd.io/govpp.git/binapi/interface_types" ip_types "git.fd.io/govpp.git/binapi/ip_types" codec "git.fd.io/govpp.git/codec" - "strconv" ) // This is a compile-time assertion to ensure that this generated file diff --git a/binapi/nat/nat_rpc.ba.go b/binapi/nat/nat_rpc.ba.go index ad76f5d..bd07910 100644 --- a/binapi/nat/nat_rpc.ba.go +++ b/binapi/nat/nat_rpc.ba.go @@ -5,9 +5,10 @@ package nat import ( "context" "fmt" + "io" + api "git.fd.io/govpp.git/api" vpe "git.fd.io/govpp.git/binapi/vpe" - "io" ) // RPCService defines RPC service nat. |