Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/provider/cisco/iosxr/intf.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (*Ifaces) XPath() string {
// Iface represents physical and bundle interfaces as part of the same struct as they share a lot of common configuration
// and only differ in a few attributes like the interface name and the presence of bundle configuration or not.
type Iface struct {
Name string `json:"-"`
Name string `json:"interface-name"`
Description string `json:"description,omitzero"`
Statistics Statistics `json:"Cisco-IOS-XR-infra-statsd-cfg:statistics,omitzero"`
MTUs MTUs `json:"mtus,omitzero"`
Expand Down
1 change: 1 addition & 0 deletions internal/provider/cisco/iosxr/testdata/intf.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"interface-configuration": {
"interface-name": "TwentyFiveGigE0/0/0/14",
"description": "random interface test",
"Cisco-IOS-XR-infra-statsd-cfg:statistics": {
"load-interval": 30
Expand Down
Loading