v
Executing a Python script ······························································································································ 135
Exiting the Python shell ·································································································································· 135
Python usage example ·································································································································· 135
Network requirements ···························································································································· 135
Configuration procedure ························································································································· 136
Verifying the configuration ······················································································································ 136
Comware 7 extended Python API ······························································· 137
Importing and using the Comware 7 extended Python API ··········································································· 137
Comware 7 extended Python API functions ·································································································· 137
CLI class ················································································································································ 137
Transfer class ········································································································································· 139
API get_self_slot ···································································································································· 140
API get_standby_slot ····························································································································· 140
Using automatic configuration ····································································· 142
Overview ························································································································································ 142
Automatic configuration task list ···················································································································· 142
Configuring the file server ······················································································································ 143
Preparing the files for automatic configuration ······················································································· 143
Configuring the DHCP server ················································································································· 144
Configuring the DNS server ··················································································································· 145
Configuring the gateway ························································································································ 145
Selecting the interfaces used for automatic configuration······································································ 146
Starting and completing automatic configuration ··················································································· 146
Automatic configuration examples ················································································································· 146
Automatic configuration using TFTP server ··························································································· 146
Automatic configuration using HTTP server and Tcl script ···································································· 151
Document conventions and icons ······························································· 153
Conventions ··················································································································································· 153
Network topology icons ·································································································································· 154
Support and other resources ······································································ 155
Accessing Hewlett Packard Enterprise Support ···························································································· 155
Accessing updates ········································································································································· 155
Websites ················································································································································ 156
Customer self repair ······························································································································· 156
Remote support ······································································································································ 156
Documentation feedback ······················································································································· 156
Index ··········································································································· 158