@@ -14,17 +14,18 @@ type ConfigDB struct {
1414 ACLRules map [string ]ACLRule `json:"ACL_RULE,omitempty"`
1515 ACLTables map [string ]ACLTable `json:"ACL_TABLE,omitempty"`
1616 Breakouts map [string ]BreakoutConfig `json:"BREAKOUT_CFG,omitempty"`
17- DeviceMetadata `json:"DEVICE_METADATA,omitempty"`
18- Features map [string ]Feature `json:"FEATURE,omitempty"`
19- Interfaces map [string ]Interface `json:"INTERFACE,omitempty"`
17+ DeviceMetadata `json:"DEVICE_METADATA"`
18+ Features map [string ]Feature `json:"FEATURE,omitempty"`
19+ Interfaces map [string ]Interface `json:"INTERFACE,omitempty"`
20+ LLDP `json:"LLDP"`
2021 LoopbackInterface map [string ]struct {} `json:"LOOPBACK_INTERFACE,omitempty"`
2122 MCLAGDomains map [string ]MCLAGDomain `json:"MCLAG_DOMAIN,omitempty"`
2223 MCLAGInterfaces map [string ]MCLAGInterface `json:"MCLAG_INTERFACE,omitempty"`
2324 MCLAGUniqueIPs map [string ]MCLAGUniqueIP `json:"MCLAG_UNIQUE_IP,omitempty"`
2425 MgmtInterfaces map [string ]MgmtInterface `json:"MGMT_INTERFACE,omitempty"`
2526 MgmtPorts map [string ]MgmtPort `json:"MGMT_PORT,omitempty"`
26- MgmtVRFConfig `json:"MGMT_VRF_CONFIG,omitempty "`
27- NTP `json:"NTP,omitempty "`
27+ MgmtVRFConfig `json:"MGMT_VRF_CONFIG"`
28+ NTP `json:"NTP"`
2829 NTPServers map [string ]struct {} `json:"NTP_SERVER,omitempty"`
2930 Ports map [string ]Port `json:"PORT,omitempty"`
3031 PortChannels map [string ]PortChannel `json:"PORTCHANNEL,omitempty"`
@@ -34,7 +35,7 @@ type ConfigDB struct {
3435 VLANInterfaces map [string ]VLANInterface `json:"VLAN_INTERFACE,omitempty"`
3536 VLANMembers map [string ]VLANMember `json:"VLAN_MEMBER,omitempty"`
3637 VRFs map [string ]VRF `json:"VRF,omitempty"`
37- VXLANEVPN `json:"VXLAN_EVPN_NVO,omitempty "`
38+ VXLANEVPN `json:"VXLAN_EVPN_NVO"`
3839 VXLANTunnels map [string ]VXLANTunnel `json:"VXLAN_TUNNEL,omitempty"`
3940 VXLANTunnelMap `json:"VXLAN_TUNNEL_MAP,omitempty"`
4041}
@@ -66,6 +67,11 @@ func GenerateConfigDB(input *values.Values, platform *p.Platform) (*ConfigDB, er
6667 },
6768 },
6869 Interfaces : getInterfaces (input .Ports , input .BGPPorts ),
70+ LLDP : LLDP {
71+ Global : LLDPGlobal {
72+ HelloTime : fmt .Sprintf ("%d" , input .LLDPHelloTime ),
73+ },
74+ },
6975 LoopbackInterface : map [string ]struct {}{
7076 "Loopback0" : {},
7177 "Loopback0|" + input .LoopbackAddress + "/32" : {},
0 commit comments