getheaders = {'Accept': 'application/json'}
+
def cleanup_config_fl(host, port):
global getheaders
help="Use authenticated access to REST "
"(username: 'admin', password: 'admin').")
parser.add_argument('--controller', choices=['odl', 'floodlight'], default='odl',
- help='Controller type (ODL or Floodlight); default odl (OpenDaylight)')
+ help='Controller type (ODL or Floodlight); default odl (OpenDaylight)')
in_args = parser.parse_args()
print 'Failed to delete nodes in the config space, code %d' % sts
else:
print 'Nodes in config space deleted.'
-