Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Some DevNet scripts

mpsg500.py

Interface data from cisco sg500 switches:

hostname type duplex speed state int vlan descr mac log1
ZC01 1G-Copper Full 1000 Up gi1/1 51 00:07:5f:a6:bb:d5 ...
1G-Copper Full 1000 Up gi1/2 51 ac:cc:8e:b3:e9:69 ...
1G-Copper Full 1000 Up gi1/3 51 00:07:5f:a6:be:24 ...

sg500inv.py

Inventory data for cisco sg500 switches:

hostname Inventory # Description PID VID SN
ZC01 1 SG500-52MP 52-Port Gigabit PoE+ Stackable Managed Switch SG500-52MP-K9 V03 DNI210XXXXXX

cfg_set.py

Execute commands on devices

ios_switch_data.py

Interface data from Cisco switches with IOS.

Common inventory format (json file)

{
    "CampusName": {
        "login"  : "login",
        "pass"   : "pass",
        "port"   : 22,
        "devtype": "cisco_ios",
        "devices": [
            "172.16.0.10",
            "172.16.0.11",
            "172.16.0.12"
        ]
    }
}

About

Some DevNet scripts

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages