Functions | Variables
set_urg_ip Namespace Reference

Functions

def parse_and_validate_ipv4

Variables

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,
  name 
)
Each address must have 4 

Definition at line 36 of file set_urg_ip.py.


Variable Documentation

Definition at line 59 of file set_urg_ip.py.

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

Definition at line 66 of file set_urg_ip.py.

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

Definition at line 65 of file set_urg_ip.py.

string set_urg_ip::msg = "$IP"

Definition at line 68 of file set_urg_ip.py.

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

Definition at line 67 of file set_urg_ip.py.

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

Definition at line 54 of file set_urg_ip.py.

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

Definition at line 78 of file set_urg_ip.py.

tuple set_urg_ip::sock = socket.socket()

Definition at line 71 of file set_urg_ip.py.



urg_node
Author(s): Chad Rockey , Mike O'Driscoll
autogenerated on Wed Jun 14 2017 04:05:48