def configure_tenant(self, tenant_name): #lbaas_obj = Lbaas(None) #lbaas_obj.create_lb_pools(self.thread_count,self.global_conf,self.tenant_conf) #lbaas_obj.create_lb_members(self.thread_count,self.global_conf,self.tenant_conf) project_obj = ConfigProject(None) project_obj.create_tenants(self.thread_count, self.global_conf, self.tenant_conf, tenant_name) project_obj = ConfigProject(None) project_obj.update_security_groups(self.thread_count, self.global_conf, self.tenant_conf, tenant_name) policy_obj = Policy(None) policy_obj.create_policies(self.thread_count, self.global_conf, self.tenant_conf, tenant_name) vdns_obj = vDNS(None) vdns_obj.create_data_vdns_tree(self.thread_count, self.global_conf, self.tenant_conf, tenant_name) ipam_obj = IPAM(None) ipam_obj.create_ipams(self.thread_count, self.global_conf, self.tenant_conf, tenant_name) vn_obj = VN(None) vn_obj.create_vns(self.thread_count, self.global_conf, self.tenant_conf, tenant_name) vn_obj = VN(None) vn_obj.update_extend_to_physical_routers(self.thread_count, self.global_conf, self.tenant_conf, tenant_name) policy_obj = Policy(None) policy_obj.attach_policies(self.thread_count, self.global_conf, self.tenant_conf, tenant_name) vm_obj = VM(None) vm_obj.create_vms(self.thread_count, self.global_conf, self.tenant_conf, tenant_name) router_obj = LogicalRouter(None) router_obj.create_logical_routers(self.thread_count, self.global_conf, self.tenant_conf, tenant_name) router_obj.attach_vns_to_logical_routers(self.thread_count, self.global_conf, self.tenant_conf, tenant_name) fip_obj = FloatingIPPool(None) fip_obj.delete_fip_pools(self.thread_count, self.global_conf, self.tenant_conf, tenant_name) fip_obj = FloatingIPPool(None) fip_obj.create_fip_pools(self.thread_count, self.global_conf, self.tenant_conf, tenant_name) fip_obj = FloatingIPPool(None) fip_obj.associate_fips(self.thread_count, self.global_conf, self.tenant_conf, tenant_name) return
def runTest(self): # lbaas_obj = Lbaas(None) # lbaas_obj.create_lb_pools(self.thread_count,self.global_conf,self.tenant_conf) # lbaas_obj.create_lb_members(self.thread_count,self.global_conf,self.tenant_conf) project_obj = ConfigProject(None) project_obj.create_tenants(self.thread_count, self.global_conf, self.tenant_conf) project_obj = ConfigProject(None) project_obj.update_security_groups(self.thread_count, self.global_conf, self.tenant_conf) vdns_obj = vDNS(None) vdns_obj.create_vdns_tree(self.thread_count, self.global_conf, self.tenant_conf) # policy_obj = Policy(None) # policy_obj.create_policies(self.thread_count,self.global_conf,self.tenant_conf) ipam_obj = IPAM(None) ipam_obj.create_ipams(self.thread_count, self.global_conf, self.tenant_conf) vn_obj = VN(None) vn_obj.create_vns(self.thread_count, self.global_conf, self.tenant_conf) vn_obj = VN(None) vn_obj.update_extend_to_physical_routers(self.thread_count, self.global_conf, self.tenant_conf) create_mgmt_vn_ipam(self.thread_count, self.global_conf, self.tenant_conf) # policy_obj = Policy(None) # policy_obj.attach_policies(self.thread_count,self.global_conf,self.tenant_conf) vm_obj = VM(None) vm_obj.create_vms(self.thread_count, self.global_conf, self.tenant_conf) router_obj = LogicalRouter(None) router_obj.create_logical_routers(self.thread_count, self.global_conf, self.tenant_conf) router_obj.attach_vns_to_logical_routers(self.thread_count, self.global_conf, self.tenant_conf) fip_obj = FloatingIPPool(None) fip_obj.delete_fip_pools(self.thread_count, self.global_conf, self.tenant_conf) fip_obj = FloatingIPPool(None) fip_obj.create_fip_pools(self.thread_count, self.global_conf, self.tenant_conf) fip_obj = FloatingIPPool(None) fip_obj.associate_fips(self.thread_count, self.global_conf, self.tenant_conf) lls_obj = LLS(None) lls_obj.create_link_local_services(self.thread_count, self.global_conf, self.tenant_conf) return
def configure_tenant(self): tenant_name_list = self.global_conf['tenant_name_list'] #lbaas_obj = Lbaas(None) #lbaas_obj.create_lb_pools(self.thread_count,self.global_conf,self.tenant_conf) #lbaas_obj.create_lb_members(self.thread_count,self.global_conf,self.tenant_conf) project_obj = ConfigProject(None) project_obj.create_tenants(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) project_obj = ConfigProject(None) project_obj.update_security_groups(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) policy_obj = Policy(None) policy_obj.create_policies(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) vdns_obj = vDNS(None) vdns_obj.create_data_vdns_tree(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) ipam_obj = IPAM(None) ipam_obj.create_ipams(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) vn_obj = VN(None) vn_obj.create_vns(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) router_obj = LogicalRouter(None) router_obj.create_logical_routers(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) router_obj.attach_vns_to_logical_routers(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) vn_obj = VN(None) vn_obj.update_extend_to_physical_routers(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) policy_obj = Policy(None) policy_obj.attach_policies(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) vm_obj = VM(None) vm_obj.create_vms(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) #router_obj = LogicalRouter(None) #router_obj.create_logical_routers(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) #router_obj.attach_vns_to_logical_routers(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) fip_obj = FloatingIPPool(None) fip_obj.delete_fip_pools(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) fip_obj = FloatingIPPool(None) fip_obj.create_fip_pools(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) fip_obj = FloatingIPPool(None) fip_obj.associate_fips(self.thread_count,self.global_conf,self.tenant_conf,tenant_name_list) return
def runTest(self): project_obj = ConfigProject(None) project_obj.create_tenants(self.thread_count, self.global_conf, self.tenant_conf) project_obj = ConfigProject(None) project_obj.update_security_groups(self.thread_count, self.global_conf, self.tenant_conf) vdns_obj = vDNS(None) vdns_obj.create_vdns_tree(self.thread_count, self.global_conf, self.tenant_conf) #policy_obj = Policy(None) #policy_obj.create_policies(self.thread_count,self.global_conf,self.tenant_conf) ipam_obj = IPAM(None) ipam_obj.create_ipams(self.thread_count, self.global_conf, self.tenant_conf) vn_obj = VN(None) vn_obj.create_vns(self.thread_count, self.global_conf, self.tenant_conf) vn_obj = VN(None) vn_obj.update_extend_to_physical_routers(self.thread_count, self.global_conf, self.tenant_conf) create_mgmt_vn_ipam(self.thread_count, self.global_conf, self.tenant_conf) #policy_obj = Policy(None) #policy_obj.attach_policies(self.thread_count,self.global_conf,self.tenant_conf) vm_obj = VM(None) vm_obj.create_vms(self.thread_count, self.global_conf, self.tenant_conf) router_obj = LogicalRouter(None) router_obj.create_logical_routers(self.thread_count, self.global_conf, self.tenant_conf) router_obj.attach_vns_to_logical_routers(self.thread_count, self.global_conf, self.tenant_conf) fip_obj = FloatingIPPool(None) fip_obj.delete_fip_pools(self.thread_count, self.global_conf, self.tenant_conf) fip_obj = FloatingIPPool(None) fip_obj.create_fip_pools(self.thread_count, self.global_conf, self.tenant_conf) fip_obj = FloatingIPPool(None) fip_obj.associate_fips(self.thread_count, self.global_conf, self.tenant_conf) lls_obj = LLS(None) lls_obj.create_link_local_services(self.thread_count, self.global_conf, self.tenant_conf) return