示例#1
0
def Screening(url):
    screening = p(url)
    return screening.select('dc')
示例#2
0
def DHCP(url):
    dhcp = p(url)
    return dhcp.select('de') + dhcp.values()
示例#3
0
def Multicast(url):
    multicast = p(url)
    return multicast.select('db') + multicast.values()
示例#4
0
def Acceleration(url):
    acceleration = p(url)
    return acceleration.check_mode('da') + acceleration.select('dq') + acceleration.values()
示例#5
0
def SNTP(url):
    """В апи нмс не реализован mode"""
    sntp = p(url)
    return sntp.select('db') + sntp.values()
示例#6
0
def TFTP(url):
    tftp = p(url)
    return tftp.values()
示例#7
0
def SNMP(url):
    snmp = p(url)
    return snmp.values()
示例#8
0
def RIP(url):
    rip = p(url)
    return rip.check_mode('db') + rip.name_value('ia') + rip.check_mode('dc') + rip.check_mode('dd') + rip.name_value(
        'de')
示例#9
0
def NAT(url):
    """не реализован порт форвард в апи нмса"""
    nat = p(url)
    return nat.check_mode('di') + nat.name_value('if') + nat.name_value('ih') + nat.name_value('mg')
示例#10
0
def ARP(url):
    arp = p(url)
    return arp.values() + arp.check_mode('db')
示例#11
0
def DNS(url):
    dns = p(url)
    return dns.check_mode('da') + dns.values()