Functions | Variables
set_urg_ip Namespace Reference


def parse_and_validate_ipv4


tuple args = parser.parse_args()
tuple gw = parse_and_validate_ipv4(args.new_gw, "gateway address")
tuple ip = parse_and_validate_ipv4(args.new_ip, "IP address")
string msg = "$IP"
tuple nm = parse_and_validate_ipv4(args.nm, "netmask")
tuple parser = argparse.ArgumentParser(description=__doc__)
tuple returned = sock.recv(40)
tuple sock = socket.socket()

Function Documentation

def set_urg_ip.parse_and_validate_ipv4 (   argument,
Each address must have 4 

Definition at line 36 of file

Variable Documentation

Definition at line 59 of file

tuple set_urg_ip::gw = parse_and_validate_ipv4(args.new_gw, "gateway address")

Definition at line 66 of file

tuple set_urg_ip::ip = parse_and_validate_ipv4(args.new_ip, "IP address")

Definition at line 65 of file

string set_urg_ip::msg = "$IP"

Definition at line 68 of file

tuple set_urg_ip::nm = parse_and_validate_ipv4(args.nm, "netmask")

Definition at line 67 of file

tuple set_urg_ip::parser = argparse.ArgumentParser(description=__doc__)

Definition at line 54 of file

tuple set_urg_ip::returned = sock.recv(40)

Definition at line 78 of file

tuple set_urg_ip::sock = socket.socket()

Definition at line 71 of file

Author(s): Chad Rockey , Mike O'Driscoll
autogenerated on Sat Jun 8 2019 19:16:00