Namespaces | Functions | Variables
datagram_client.py File Reference

Go to the source code of this file.

Namespaces

 datagram_client
 

Functions

def datagram_client.Usage ()
 

Variables

string datagram_client.SERVER_ADDRESS = 'novabuild01.fnal.gov'
 
int datagram_client.SERVER_PORT = 12345
 
string datagram_client.DATAGRAM_VERSION = 'v0.1'
 
 datagram_client.envmap = os.environ
 
 datagram_client.client = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP)
 
 datagram_client.kv = optpairs[io]
 
 datagram_client.opt1 = kv[0]
 
 datagram_client.arg1 = kv[1]
 
 datagram_client.user = getpass.getuser()
 
 datagram_client.kernel = platform.release()
 
 datagram_client.shell = os.environ["SHELL"]
 
 datagram_client.fin = open('/etc/redhat-release','r')
 
 datagram_client.sl = fin.readline().split(' ')[-2]
 
 datagram_client.srt_public_context = os.environ["SRT_PUBLIC_CONTEXT"]
 
 datagram_client.products = os.environ["PRODUCTS"]
 
string datagram_client.message = 'SPECIAL_SHUTDOWN_MESSAGE'