Module Import alias Import alias Import alias Import alias Import alias Import alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Num Str Str Str Str Str Str Str NameLoad Num NameLoad NameLoad NameLoad NameLoad NameLoad Str NameLoad NameLoad NameLoad NameLoad Str Num Str Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword UnaryOpNot SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword UnaryOpNot SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword UnaryOpNot SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword UnaryOpNot SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword SubscriptLoad NameLoad Index Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd BoolOpOr CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr CompareIn Str Call AttributeLoad AttributeLoad NameLoad attr attr CompareNotIn Call AttributeLoad Str attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd BoolOpOr CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr CompareIn Str Call AttributeLoad AttributeLoad NameLoad attr attr CompareNotIn Call AttributeLoad Str attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args defaults body Global identifier identifier TryExcept body If CompareNotEq Call AttributeLoad NameLoad attr Num body Print Str Assign NameStore Call NameLoad If AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIs Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad If AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword TupleLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Str orelse If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr Str If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign NameStore ListLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad Str keyword Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call NameLoad Str keyword Call NameLoad Str keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad Str keyword Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call NameLoad Str keyword Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str While Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Num handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A threading N/A os N/A sys N/A json N/A logging N/A logging.handlers N/A N/A N/A argparse N/A N/A N/A ImportError N/A N/A N/A N/A sys exit ImportError: You do not have the Python 'argparse' module installed. Please install the 'argparse' module and try again. time sleep pypxe tftp pypxe dhcp pypxe http pypxe nbd N/A args None N/A SETTINGS N/A NETBOOT_DIR NETBOOT_FILE DHCP_SERVER_IP DHCP_SERVER_PORT DHCP_OFFER_BEGIN DHCP_OFFER_END DHCP_SUBNET DHCP_DNS DHCP_ROUTER DHCP_BROADCAST DHCP_FILESERVER SYSLOG_SERVER SYSLOG_PORT USE_IPXE USE_HTTP USE_TFTP USE_DHCP DHCP_MODE_PROXY NBD_BLOCK_DEVICE NBD_WRITE NBD_COW NBD_COW_IN_MEM NBD_COPY_TO_RAM NBD_SERVER_IP NBD_PORT MODE_DEBUG MODE_VERBOSE netboot 192.168.2.2 67 192.168.2.100 192.168.2.150 255.255.255.0 8.8.8.8 192.168.2.1 <broadcast> 192.168.2.2 None 514 False False True True False False True False False 0.0.0.0 10809 parse_cli_arguments N/A N/A N/A N/A N/A parser N/A N/A argparse ArgumentParser description Set options at runtime. Defaults are in %(prog)s formatter_class N/A argparse ArgumentDefaultsHelpFormatter N/A ipxeexclusive N/A N/A parser add_mutually_exclusive_group required False N/A N/A N/A ipxeexclusive add_argument --ipxe action store_true dest USE_IPXE help Enable iPXE ROM default N/A SETTINGS N/A USE_IPXE N/A N/A N/A ipxeexclusive add_argument --no-ipxe action store_false dest USE_IPXE help Disable iPXE ROM default N/A N/A SETTINGS N/A USE_IPXE N/A httpexclusive N/A N/A parser add_mutually_exclusive_group required False N/A N/A N/A httpexclusive add_argument --http action store_true dest USE_HTTP help Disable built-in HTTP server default N/A SETTINGS N/A USE_HTTP N/A N/A N/A httpexclusive add_argument --no-http action store_false dest USE_HTTP help Enable built-in HTTP server default N/A N/A SETTINGS N/A USE_HTTP N/A tftpexclusive N/A N/A parser add_mutually_exclusive_group required False N/A N/A N/A tftpexclusive add_argument --tftp action store_true dest USE_TFTP help Enable built-in TFTP server, by default it is enabled default N/A SETTINGS N/A USE_TFTP N/A N/A N/A tftpexclusive add_argument --no-tftp action store_false dest USE_TFTP help Disable built-in TFTP server, by default it is enabled default N/A N/A SETTINGS N/A USE_TFTP N/A N/A N/A parser add_argument --debug action store dest MODE_DEBUG help Comma Seperated (http,tftp,dhcp). Adds verbosity to the selected services while they run. Use 'all' for enabling debug on all services. Precede an option with '-' to disable debugging for that service; as an example, one can pass in the following to enable debugging for all services except the DHCP service: '--debug all,-dhcp' default N/A SETTINGS N/A MODE_DEBUG N/A N/A N/A parser add_argument --verbose action store dest MODE_VERBOSE help Comma Seperated (http,tftp,dhcp). Adds verbosity to the selected services while they run. Less verbose than 'debug'. Use 'all' for enabling verbosity on all services. Precede an option with '-' to disable debugging for that service; as an example, one can pass in the following to enable debugging for all services except the DHCP service: '--debug all,-dhcp' default N/A SETTINGS N/A MODE_VERBOSE N/A N/A N/A parser add_argument --config action store dest JSON_CONFIG help Configure from a JSON file rather than the command line default N/A N/A N/A parser add_argument --static-config action store dest STATIC_CONFIG help Configure leases from a json file rather than the command line default N/A N/A N/A parser add_argument --save-leases action store dest LEASES_FILE help Save all DHCP leases on exit or SIGHUP. Will load from this file on start default N/A N/A N/A parser add_argument --syslog action store dest SYSLOG_SERVER help Syslog server default N/A SETTINGS N/A SYSLOG_SERVER N/A N/A N/A parser add_argument --syslog-port action store dest SYSLOG_PORT help Syslog server port default N/A SETTINGS N/A SYSLOG_PORT N/A dhcp_group N/A N/A parser add_argument_group title DHCP description Arguments relevant to the DHCP server N/A exclusive N/A N/A dhcp_group add_mutually_exclusive_group required False N/A N/A N/A exclusive add_argument --no-dhcp action store_false dest USE_DHCP help Disable built-in DHCP server default N/A N/A SETTINGS N/A USE_DHCP N/A N/A N/A exclusive add_argument --dhcp action store_true dest USE_DHCP help Enable built-in DHCP server default N/A SETTINGS N/A USE_DHCP N/A N/A N/A exclusive add_argument --dhcp-proxy action store_true dest DHCP_MODE_PROXY help Enable built-in DHCP server in proxy mode (implies --dhcp) default N/A SETTINGS N/A DHCP_MODE_PROXY N/A N/A N/A dhcp_group add_argument --dhcp-server-ip action store dest DHCP_SERVER_IP help DHCP Server IP default N/A SETTINGS N/A DHCP_SERVER_IP N/A N/A N/A dhcp_group add_argument --dhcp-server-port action store dest DHCP_SERVER_PORT help DHCP Server Port default N/A SETTINGS N/A DHCP_SERVER_PORT N/A N/A N/A dhcp_group add_argument --dhcp-begin action store dest DHCP_OFFER_BEGIN help DHCP lease range start default N/A SETTINGS N/A DHCP_OFFER_BEGIN N/A N/A N/A dhcp_group add_argument --dhcp-end action store dest DHCP_OFFER_END help DHCP lease range end default N/A SETTINGS N/A DHCP_OFFER_END N/A N/A N/A dhcp_group add_argument --dhcp-subnet action store dest DHCP_SUBNET help DHCP lease subnet default N/A SETTINGS N/A DHCP_SUBNET N/A N/A N/A dhcp_group add_argument --dhcp-router action store dest DHCP_ROUTER help DHCP lease router default N/A SETTINGS N/A DHCP_ROUTER N/A N/A N/A dhcp_group add_argument --dhcp-dns action store dest DHCP_DNS help DHCP lease DNS server default N/A SETTINGS N/A DHCP_DNS N/A N/A N/A dhcp_group add_argument --dhcp-broadcast action store dest DHCP_BROADCAST help DHCP broadcast address default N/A SETTINGS N/A DHCP_BROADCAST N/A N/A N/A dhcp_group add_argument --dhcp-fileserver action store dest DHCP_FILESERVER help DHCP fileserver IP default N/A SETTINGS N/A DHCP_FILESERVER N/A N/A N/A dhcp_group add_argument --dhcp-whitelist action store_true dest DHCP_WHITELIST help Only respond to DHCP clients present in --static-config default False N/A N/A N/A parser add_argument --netboot-dir action store dest NETBOOT_DIR help Local file serve directory default N/A SETTINGS N/A NETBOOT_DIR N/A N/A N/A parser add_argument --netboot-file action store dest NETBOOT_FILE help PXE boot file name (after iPXE if --ipxe) default N/A SETTINGS N/A NETBOOT_FILE N/A nbd_group N/A N/A parser add_argument_group title Network Block Device description Arguments relevant to the NBD server N/A N/A N/A nbd_group add_argument --nbd action store dest NBD_BLOCK_DEVICE help Enable the NDB server with a specific block device (Can be a disk image) default N/A SETTINGS N/A NBD_BLOCK_DEVICE N/A N/A N/A nbd_group add_argument --nbd-write action store_true dest NBD_WRITE help Enable writes on the NBD device default N/A SETTINGS N/A NBD_WRITE N/A N/A N/A nbd_group add_argument --nbd-cow action store_true dest NBD_COW help Enable copy-on-write for the NBD device (Non-persistent changes) default N/A SETTINGS N/A NBD_COW N/A N/A N/A nbd_group add_argument --nbd-cow-in-mem action store_true dest NBD_COW_IN_MEM help Store copy-on-write pages in memory default N/A SETTINGS N/A NBD_COW_IN_MEM N/A N/A N/A nbd_group add_argument --nbd-copy-to-ram action store_true dest NBD_COPY_TO_RAM help Copy the NBD device to memory before serving clients default N/A SETTINGS N/A NBD_COPY_TO_RAM N/A N/A N/A nbd_group add_argument --nbd-server action store dest NBD_SERVER_IP help NBD Server IP default N/A SETTINGS N/A NBD_SERVER_IP N/A N/A N/A nbd_group add_argument --nbd-port action store dest NBD_PORT help NBD Server Port default N/A SETTINGS N/A NBD_PORT N/A N/A N/A parser parse_args N/A do_debug N/A N/A service N/A N/A N/A N/A N/A N/A service N/A N/A N/A args MODE_DEBUG lower N/A all N/A N/A N/A args MODE_DEBUG lower N/A N/A N/A -{0} format service N/A N/A N/A args MODE_DEBUG lower N/A do_verbose N/A N/A service N/A N/A N/A N/A N/A N/A service N/A N/A N/A args MODE_VERBOSE lower N/A all N/A N/A N/A args MODE_VERBOSE lower N/A N/A N/A -{0} format service N/A N/A N/A args MODE_VERBOSE lower N/A main N/A N/A N/A N/A N/A SETTINGS args N/A N/A N/A N/A N/A N/A os getuid 0 N/A N/A 
WARNING: Not root. Servers will probably fail to bind.
 N/A args N/A parse_cli_arguments N/A N/A args JSON_CONFIG N/A N/A N/A N/A config_file N/A open N/A args JSON_CONFIG rb N/A N/A N/A IOError N/A N/A N/A N/A sys exit N/A N/A Failed to open {0} format N/A args JSON_CONFIG N/A N/A N/A loaded_config N/A N/A json load config_file N/A N/A N/A config_file close N/A N/A N/A ValueError N/A N/A N/A N/A sys exit N/A N/A {0} does not contain valid JSON format N/A args JSON_CONFIG N/A setting loaded_config N/A N/A N/A N/A type N/A loaded_config N/A setting unicode N/A N/A N/A loaded_config N/A setting N/A N/A N/A loaded_config N/A setting encode ascii N/A N/A N/A SETTINGS update loaded_config N/A args N/A parse_cli_arguments N/A N/A args STATIC_CONFIG N/A N/A N/A N/A static_config N/A open N/A args STATIC_CONFIG rb N/A N/A N/A IOError N/A N/A N/A N/A sys exit N/A N/A Failed to open {0} format N/A args STATIC_CONFIG N/A N/A N/A loaded_statics N/A N/A json load static_config N/A N/A N/A static_config close N/A N/A N/A ValueError N/A N/A N/A N/A sys exit N/A N/A {0} does not contain valid json format N/A args STATIC_CONFIG N/A N/A loaded_statics N/A dict N/A sys_logger N/A N/A logging getLogger PyPXE N/A N/A args SYSLOG_SERVER N/A N/A handler N/A N/A N/A logging handlers SysLogHandler address N/A N/A args SYSLOG_SERVER N/A int N/A args SYSLOG_PORT N/A N/A handler N/A N/A logging StreamHandler N/A formatter N/A N/A logging Formatter %(asctime)s [%(levelname)s] %(name)s %(message)s N/A N/A N/A handler setFormatter formatter N/A N/A N/A sys_logger addHandler handler N/A N/A N/A sys_logger setLevel N/A logging INFO N/A N/A N/A args USE_HTTP N/A N/A args USE_IPXE N/A N/A args USE_DHCP N/A N/A N/A N/A sys_logger warning HTTP selected but iPXE disabled. PXE ROM must support HTTP requests. N/A N/A args DHCP_MODE_PROXY N/A N/A N/A args USE_DHCP True N/A N/A N/A args NETBOOT_FILE N/A N/A N/A N/A args USE_IPXE N/A N/A N/A args NETBOOT_FILE pxelinux.0 N/A N/A N/A N/A args USE_HTTP N/A N/A N/A args NETBOOT_FILE boot.ipxe N/A N/A N/A args NETBOOT_FILE boot.http.ipxe N/A N/A N/A args NBD_WRITE N/A N/A args NBD_COW N/A N/A N/A N/A sys_logger warning NBD Write enabled but copy-on-write is not. Multiple clients may cause corruption N/A N/A N/A args NBD_COW_IN_MEM N/A args NBD_COPY_TO_RAM N/A N/A N/A N/A sys_logger warning NBD cowinmem and copytoram can cause high RAM usage N/A N/A N/A args NBD_COW N/A N/A args NBD_WRITE N/A N/A N/A args NBD_WRITE True N/A running_services N/A N/A N/A args USE_TFTP N/A N/A tftp_logger N/A N/A sys_logger getChild TFTP N/A N/A N/A sys_logger info Starting TFTP server... N/A tftp_server N/A N/A tftp TFTPD mode_debug N/A do_debug tftp mode_verbose N/A do_verbose tftp logger tftp_logger netboot_directory N/A args NETBOOT_DIR N/A tftpd N/A N/A threading Thread target N/A tftp_server listen N/A N/A tftpd daemon True N/A N/A N/A tftpd start N/A N/A N/A running_services append tftpd N/A N/A args USE_DHCP N/A N/A dhcp_logger N/A N/A sys_logger getChild DHCP N/A N/A args DHCP_MODE_PROXY N/A N/A N/A N/A sys_logger info Starting DHCP server in ProxyDHCP mode... N/A N/A N/A N/A sys_logger info Starting DHCP server... N/A dhcp_server N/A N/A dhcp DHCPD ip N/A args DHCP_SERVER_IP port N/A args DHCP_SERVER_PORT offer_from N/A args DHCP_OFFER_BEGIN offer_to N/A args DHCP_OFFER_END subnet_mask N/A args DHCP_SUBNET router N/A args DHCP_ROUTER dns_server N/A args DHCP_DNS broadcast N/A args DHCP_BROADCAST file_server N/A args DHCP_FILESERVER file_name N/A args NETBOOT_FILE use_ipxe N/A args USE_IPXE use_http N/A args USE_HTTP mode_proxy N/A args DHCP_MODE_PROXY mode_debug N/A do_debug dhcp mode_verbose N/A do_verbose dhcp whitelist N/A args DHCP_WHITELIST static_config loaded_statics logger dhcp_logger saveleases N/A args LEASES_FILE N/A dhcpd N/A N/A threading Thread target N/A dhcp_server listen N/A N/A dhcpd daemon True N/A N/A N/A dhcpd start N/A N/A N/A running_services append dhcpd N/A N/A args USE_HTTP N/A N/A http_logger N/A N/A sys_logger getChild HTTP N/A N/A N/A sys_logger info Starting HTTP server... N/A http_server N/A N/A http HTTPD mode_debug N/A do_debug http mode_verbose N/A do_debug http logger http_logger netboot_directory N/A args NETBOOT_DIR N/A httpd N/A N/A threading Thread target N/A http_server listen N/A N/A httpd daemon True N/A N/A N/A httpd start N/A N/A N/A running_services append httpd N/A N/A args NBD_BLOCK_DEVICE N/A N/A nbd_logger N/A N/A sys_logger getChild NBD N/A N/A N/A sys_logger info Starting NBD server... N/A nbd_server N/A N/A nbd NBD block_device N/A args NBD_BLOCK_DEVICE write N/A args NBD_WRITE cow N/A args NBD_COW in_mem N/A args NBD_COW_IN_MEM copy_to_ram N/A args NBD_COPY_TO_RAM ip N/A args NBD_SERVER_IP port N/A args NBD_PORT mode_debug N/A do_debug nbd mode_verbose N/A do_verbose nbd logger nbd_logger netboot_directory N/A args NETBOOT_DIR N/A nbdd N/A N/A threading Thread target N/A nbd_server listen N/A N/A nbdd daemon True N/A N/A N/A nbdd start N/A N/A N/A running_services append nbdd N/A N/A N/A sys_logger info PyPXE successfully initialized and running! N/A N/A map N/A N/A N/A x N/A N/A N/A x isAlive running_services N/A N/A N/A sleep 1 N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A sys exit 
Shutting down PyPXE...
 N/A N/A N/A __name__ __main__ N/A N/A N/A main