Example #1
0
def when_i_desactivate_dhcpd_server(step):
    common.open_url('dhcp')
    Checkbox.from_id('it-active').uncheck()
    form.submit.submit_form()
    commonconf_action_webi.webi_exec_commonconf()
Example #2
0
def when_i_activate_dhcpd_server(step):
    common.open_url('dhcp')
    Checkbox.from_id('it-active').check()
    dhcpd_action_webi.type_pool_start_end('192.168.32.20', '192.168.32.21')
    form.submit.submit_form()
    commonconf_action_webi.webi_exec_commonconf()