예제 #1
0
 def wizard_mode_input_args(self):
     self.args['bridge_domain'] = input_bridge_domain(
         '\nPlease Specify the DHCP Relay Label:', delete_function=True)[0]
     self.args['dhcp_relay_label_name'], self.args[
         'dhcp_relay_label_scope'] = input_key_args(
             '', delete_function=self.delete)
     if not self.delete:
         self.args['optional_args'] = input_optional_args()
def input_key_args(msg=''):
    print msg
    return input_bridge_domain(delete_function=True)[0]
예제 #3
0
 def wizard_mode_input_args(self):
     self.args['bridge_domain'] = input_bridge_domain('\nPlease Specify the DHCP Relay Label:', delete_function=True)[0]
     self.args['dhcp_relay_label_name'], self.args['dhcp_relay_label_scope'] = input_key_args('', delete_function=self.delete)
     if not self.delete:
         self.args['optional_args'] = input_optional_args()
예제 #4
0
def input_key_args(msg=''):
    print msg
    return input_bridge_domain(delete_function=True)[0]