Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
twr14152 authored Apr 27, 2024
1 parent bf7b463 commit e5c9d17
Showing 1 changed file with 0 additions and 180 deletions.
180 changes: 0 additions & 180 deletions arista/goeapi/change_config/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,183 +33,3 @@ func main() {
fmt.Printf("\n\n-------------------------------\n\n")
}
}
/*
twr14152@DESKTOP-S55FNN9:~/code_folder/go_folder/misc/goeapi/change_config$ go run main.go
Connected to ceos1
Pre-Change state:
[map[command:show ip interface brief result:Address
Interface IP Address Status Protocol MTU Owner
--------------- ------------------ ----------- ------------- ---------- -------
Loopback0 1.1.1.1/32 up up 65535
Management0 172.17.0.2/16 up up 1500]] <nil>
true
Post change state:
[map[command:show ip interface brief result:Address
Interface IP Address Status Protocol MTU Owner
--------------- ------------------ ----------- ------------- ---------- -------
Loopback0 1.1.1.1/32 up up 65535
Loopback55 55.55.55.55/32 up up 65535
Management0 172.17.0.2/16 up up 1500]] <nil>
-------------------------------
Connected to ceos2
Pre-Change state:
[map[command:show ip interface brief result:Address
Interface IP Address Status Protocol MTU Owner
--------------- ------------------ ----------- ------------- ---------- -------
Loopback0 2.2.2.2/32 up up 65535
Loopback69 unassigned up up 65535
Management0 172.17.0.3/16 up up 1500]] <nil>
true
Post change state:
[map[command:show ip interface brief result:Address
Interface IP Address Status Protocol MTU Owner
--------------- ------------------ ----------- ------------- ---------- -------
Loopback0 2.2.2.2/32 up up 65535
Loopback55 55.55.55.55/32 up up 65535
Loopback69 unassigned up up 65535
Management0 172.17.0.3/16 up up 1500]] <nil>
-------------------------------
Connected to ceos3
Pre-Change state:
[map[command:show ip interface brief result:Address
Interface IP Address Status Protocol MTU Owner
--------------- ------------------ ----------- ------------- ---------- -------
Loopback0 3.3.3.3/32 up up 65535
Management0 172.17.0.4/16 up up 1500]] <nil>
true
Post change state:
[map[command:show ip interface brief result:Address
Interface IP Address Status Protocol MTU Owner
--------------- ------------------ ----------- ------------- ---------- -------
Loopback0 3.3.3.3/32 up up 65535
Loopback55 55.55.55.55/32 up up 65535
Management0 172.17.0.4/16 up up 1500]] <nil>
-------------------------------
Connected to ceos4
Pre-Change state:
[map[command:show ip interface brief result:Address
Interface IP Address Status Protocol MTU Owner
--------------- ------------------ ----------- ------------- ---------- -------
Loopback0 4.4.4.4/32 up up 65535
Management0 172.17.0.5/16 up up 1500]] <nil>
true
Post change state:
[map[command:show ip interface brief result:Address
Interface IP Address Status Protocol MTU Owner
--------------- ------------------ ----------- ------------- ---------- -------
Loopback0 4.4.4.4/32 up up 65535
Loopback55 55.55.55.55/32 up up 65535
Management0 172.17.0.5/16 up up 1500]] <nil>
-------------------------------
Connected to ceos5
Pre-Change state:
[map[command:show ip interface brief result:Address
Interface IP Address Status Protocol MTU Owner
--------------- ------------------ ----------- ------------- ---------- -------
Loopback0 5.5.5.5/32 up up 65535
Management0 172.17.0.6/16 up up 1500]] <nil>
true
Post change state:
[map[command:show ip interface brief result:Address
Interface IP Address Status Protocol MTU Owner
--------------- ------------------ ----------- ------------- ---------- -------
Loopback0 5.5.5.5/32 up up 65535
Loopback55 55.55.55.55/32 up up 65535
Management0 172.17.0.6/16 up up 1500]] <nil>
-------------------------------
Connected to ceos6
Pre-Change state:
[map[command:show ip interface brief result:Address
Interface IP Address Status Protocol MTU Owner
--------------- ------------------ ----------- ------------- ---------- -------
Loopback0 6.6.6.6/32 up up 65535
Management0 172.17.0.7/16 up up 1500]] <nil>
true
Post change state:
[map[command:show ip interface brief result:Address
Interface IP Address Status Protocol MTU Owner
--------------- ------------------ ----------- ------------- ---------- -------
Loopback0 6.6.6.6/32 up up 65535
Loopback55 55.55.55.55/32 up up 65535
Management0 172.17.0.7/16 up up 1500]] <nil>
-------------------------------
twr14152@DESKTOP-S55FNN9:~/code_folder/go_folder/misc/goeapi/change_config$
*/

0 comments on commit e5c9d17

Please sign in to comment.