Ejemplo n.º 1
0
 def wizard_mode_input_args(self):
     self.vcenter_provider, self.vcenter_domain = createVcenterDomain.input_key_args(
     )
     self.attachable_entity_profile[
         'name'] = createAttachableAccessEntityprofile.input_key_args()
     self.attachable_entity_profile[
         'optional_args'] = createAttachableAccessEntityprofile.input_optional_args(
         )
     self.configured_interfaces_pc_vpc[
         'switch_profile'], self.configured_interfaces_pc_vpc[
             'switches'], self.configured_interfaces_pc_vpc[
                 'interface_type'], self.configured_interfaces_pc_vpc[
                     'interface_ports'], self.configured_interfaces_pc_vpc[
                         'interface_selector'], self.configured_interfaces_pc_vpc[
                             'interface_policy_group'] = configureInterfacePcAndVpc.input_key_args(
                             )
     self.vlan['vlan_name'], self.vlan['vlan_mode'], self.vlan[
         'range_from'], self.vlan[
             'range_to'] = createVlanPool.input_key_args()
     self.vcenter_credential['profile'], self.vcenter_credential[
         'vmm_user'], self.vcenter_credential[
             'vmm_password'] = createVcenterCredential.input_key_args()
     self.vcenter_controller['name'], self.vcenter_controller[
         'host_or_ip'], self.vcenter_controller[
             'data_center'] = createVcenterController.input_key_args()
     self.vcenter_controller[
         'optional_args'] = createVcenterController.input_optional_args()
Ejemplo n.º 2
0
 def wizard_mode_input_args(self):
     self.input_application_name('')
     self.vlan, self.vlan_allocation_mode, self.vlan_range_from, self.vlan_range_to = createVlanPool.input_key_args('')
     self.vmm_provider, self.vmm_domain = createVcenterDomain.input_key_args('')
     self.vmm_credential_profile, self.vmm_user, self.vmm_password = createVcenterCredential.input_key_args('')
     self.vcenter_controller, self.host_or_ip, self.data_center = createVcenterController.input_key_args('')
     self.stats_mode = createVcenterController.input_optional_args(True)['stats_mode']
     vmm_domain_associations = add_mos('Add a VMM Domain Association', addVmmDomainAssociation.input_key_args, addVmmDomainAssociation.input_optional_args)
     for vmm_domain_association in vmm_domain_associations:
         arg = {'name': vmm_domain_association['key_args'],
                'optional_args': vmm_domain_association['opt_args']}
         self.vmm_domain_associations.append(arg)
 def wizard_mode_input_args(self):
     self.input_application_name('')
     self.vlan, self.vlan_allocation_mode, self.vlan_range_from, self.vlan_range_to = createVlanPool.input_key_args(
         '')
     self.vmm_provider, self.vmm_domain = createVcenterDomain.input_key_args(
         '')
     self.vmm_credential_profile, self.vmm_user, self.vmm_password = createVcenterCredential.input_key_args(
         '')
     self.vcenter_controller, self.host_or_ip, self.data_center = createVcenterController.input_key_args(
         '')
     self.stats_mode = createVcenterController.input_optional_args(
         True)['stats_mode']
     vmm_domain_associations = add_mos(
         'Add a VMM Domain Association',
         addVmmDomainAssociation.input_key_args,
         addVmmDomainAssociation.input_optional_args)
     for vmm_domain_association in vmm_domain_associations:
         arg = {
             'name': vmm_domain_association['key_args'],
             'optional_args': vmm_domain_association['opt_args']
         }
         self.vmm_domain_associations.append(arg)
 def wizard_mode_input_args(self):
     self.vcenter_provider, self.vcenter_domain = createVcenterDomain.input_key_args()
     self.attachable_entity_profile['name'] = createAttachableAccessEntityprofile.input_key_args()
     self.attachable_entity_profile['optional_args'] = createAttachableAccessEntityprofile.input_optional_args()
     self.configured_interfaces_pc_vpc['switch_profile'], self.configured_interfaces_pc_vpc['switches'], self.configured_interfaces_pc_vpc['interface_type'], self.configured_interfaces_pc_vpc['interface_ports'], self.configured_interfaces_pc_vpc['interface_selector'], self.configured_interfaces_pc_vpc['interface_policy_group'] = configureInterfacePcAndVpc.input_key_args()
     self.vlan['vlan_name'], self.vlan['vlan_mode'], self.vlan['range_from'], self.vlan['range_to'] = createVlanPool.input_key_args()
     self.vcenter_credential['profile'], self.vcenter_credential['vmm_user'], self.vcenter_credential['vmm_password'] = createVcenterCredential.input_key_args()
     self.vcenter_controller['name'], self.vcenter_controller['host_or_ip'], self.vcenter_controller['data_center'] = createVcenterController.input_key_args()
     self.vcenter_controller['optional_args'] = createVcenterController.input_optional_args()