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()
 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.º 3
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.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.vxlan['vxlan_name'], self.vxlan['range_from'], self.vxlan[
         'range_to'] = createVxlanPool.input_key_args()
     self.multicast['name'], self.multicast[
         'ip_range_from'], self.multicast[
             'ip_range_to'] = createMulticastAddressBlock.input_key_args()
     self.vcenter_credentials = read_add_mos_args(
         add_mos('Add a vCenter Credential',
                 createVcenterCredential.input_key_args))
     cdt = []
     for credential in self.vcenter_credentials:
         cdt.append({
             'profile': credential[0],
             'vmm_user': credential[1],
             'vmm_password': credential[2]
         })
     self.vcenter_credentials = cdt
     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()
     self.vshield_controller['name'], self.vshield_controller[
         'host_or_ip'] = createVshieldController.input_key_args()
     self.vshield_controller[
         'optional_args'] = createVshieldController.input_optional_args()
 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.vxlan['vxlan_name'], self.vxlan['range_from'], self.vxlan['range_to'] = createVxlanPool.input_key_args()
     self.multicast['name'], self.multicast['ip_range_from'], self.multicast['ip_range_to'] = createMulticastAddressBlock.input_key_args()
     self.vcenter_credentials = read_add_mos_args(add_mos('Add a vCenter Credential', createVcenterCredential.input_key_args))
     cdt = []
     for credential in self.vcenter_credentials:
         cdt.append({'profile': credential[0],
                     'vmm_user': credential[1],
                     'vmm_password': credential[2]})
     self.vcenter_credentials = cdt
     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()
     self.vshield_controller['name'], self.vshield_controller['host_or_ip'] = createVshieldController.input_key_args()
     self.vshield_controller['optional_args'] = createVshieldController.input_optional_args()
 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)