summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--internal/pkg/config/bgp_configs.go11
-rw-r--r--tools/pyang_plugins/bgpyang2golang.py4
2 files changed, 5 insertions, 10 deletions
diff --git a/internal/pkg/config/bgp_configs.go b/internal/pkg/config/bgp_configs.go
index 0e375619..b421a440 100644
--- a/internal/pkg/config/bgp_configs.go
+++ b/internal/pkg/config/bgp_configs.go
@@ -1,7 +1,7 @@
// DO NOT EDIT
// generated by pyang using OpenConfig https://github.com/openconfig/public
//
-// Copyright (C) 2014-2016 Nippon Telegraph and Telephone Corporation.
+// Copyright (C) 2014-2019 Nippon Telegraph and Telephone Corporation.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-//lint:file-ignore S1008 generated code.
+// Code generated by pyang. DO NOT EDIT.
package config
@@ -2548,10 +2548,6 @@ type TransportState struct {
// Remote port being used by the peer for the TCP session
// supporting the BGP session.
RemotePort uint16 `mapstructure:"remote-port" json:"remote-port,omitempty"`
- // original -> bgp:bind-interface
- // bgp:bind-interface's original type is union.
- // Interface name for binding.
- BindInterface string `mapstructure:"bind-interface" json:"bind-interface,omitempty"`
}
// struct for container bgp:config.
@@ -2584,8 +2580,7 @@ type TransportConfig struct {
// original -> gobgp:ttl
// TTL value for BGP packets.
Ttl uint8 `mapstructure:"ttl" json:"ttl,omitempty"`
- // original -> bgp:bind-interface
- // bgp:bind-interface's original type is union.
+ // original -> gobgp:bind-interface
// Interface name for binding.
BindInterface string `mapstructure:"bind-interface" json:"bind-interface,omitempty"`
}
diff --git a/tools/pyang_plugins/bgpyang2golang.py b/tools/pyang_plugins/bgpyang2golang.py
index e2545135..1ad359e3 100644
--- a/tools/pyang_plugins/bgpyang2golang.py
+++ b/tools/pyang_plugins/bgpyang2golang.py
@@ -24,7 +24,7 @@ _COPYRIGHT_NOTICE = """
// DO NOT EDIT
// generated by pyang using OpenConfig https://github.com/openconfig/public
//
-// Copyright (C) 2014-2016 Nippon Telegraph and Telephone Corporation.
+// Copyright (C) 2014-2019 Nippon Telegraph and Telephone Corporation.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@ _COPYRIGHT_NOTICE = """
// See the License for the specific language governing permissions and
// limitations under the License.
-//lint:file-ignore S1008 generated code.
+// Code generated by pyang. DO NOT EDIT.
"""
EQUAL_TYPE_LEAF = 0