Python Api
IE10.1
|
Classes | |
class | DuplicateIps |
Functions | |
def | GetAllDuplicateIpIntfs () |
get all duplicate ips,duplicate ip means witch ip repeat more than once,ignore the mask,ignore the zone. More... | |
def | GetDuplicateIpIntfsBySite (siteName) |
get all duplicate ips in same site by siteName. More... | |
def | GetDuplicateIpIntfsByZone (zoneName) |
get all duplicate ips in same zone by zoneName. More... | |
def | GetSubnetIpInterfacesBySubnets (subnets) |
get all interface datas by subnets More... | |
def | GetSubnetIpInterfacesBySubnet (subnet) |
get all interface datas by one subnet More... | |
Variables | |
str_stack = traceback.format_exc(); | |
def netbrain.sysapi.duplicateip.GetAllDuplicateIpIntfs | ( | ) |
get all duplicate ips,duplicate ip means witch ip repeat more than once,ignore the mask,ignore the zone.
ex. 10.10.10.1/16 and 10.10.10.1/8 will consider as duplicate ip;
def netbrain.sysapi.duplicateip.GetDuplicateIpIntfsBySite | ( | siteName | ) |
get all duplicate ips in same site by siteName.
ignore the mask ex. 10.10.10.1/16 and 10.10.10.1/8 will consider as duplicate ip; if the same ip interface not in same site, it not consider as duplicate ip;
siteName | (string) the name of the site. |
def netbrain.sysapi.duplicateip.GetDuplicateIpIntfsByZone | ( | zoneName | ) |
get all duplicate ips in same zone by zoneName.
ignore the mask ex. 10.10.10.1/16 and 10.10.10.1/8 will consider as duplicate ip; if the same ip interface not in same zone, it not consider as duplicate ip;
zoneName | (string) the name of the site. |
def netbrain.sysapi.duplicateip.GetSubnetIpInterfacesBySubnet | ( | subnet | ) |
get all interface datas by one subnet
subnet | (string) subnet list,ex. "10.10.32.0/22" |
def netbrain.sysapi.duplicateip.GetSubnetIpInterfacesBySubnets | ( | subnets | ) |
get all interface datas by subnets
subnets | (list) subnet list,ex. ["10.10.32.0/22"] |
netbrain.sysapi.duplicateip.str_stack = traceback.format_exc(); |