Пример #1
0
def provision_sr_iov_fab(vcenter_info, esxi_info, host_list):
    apt_install(['contrail-vmware-utils'])
    sr_iov_params = {}

    sr_iov_params['dvs_name'] = vcenter_info['dv_switch_sr_iov']['dv_switch_name']
    sr_iov_params['dvportgroup_name'] = vcenter_info['dv_port_group_sr_iov']['dv_portgroup_name']
    sr_iov_params['dvportgroup_num_ports'] = vcenter_info['dv_port_group_sr_iov']['number_of_ports']

    sr_iov_params['vcenter_server'] = vcenter_info['server']
    sr_iov_params['vcenter_username'] = vcenter_info['username']
    sr_iov_params['vcenter_password'] = vcenter_info['password']

    sr_iov_params['cluster_name'] = vcenter_info['cluster']
    sr_iov_params['datacenter_name'] = vcenter_info['datacenter']

    sr_iov_params['esxi_info'] = esxi_info
    sr_iov_params['host_list'] = host_list

    sr_iov_fab(sr_iov_params)
Пример #2
0
def provision_sr_iov_fab(vcenter_info, esxi_info, host_list):
    pkgs = get_setup_vcenter_pkg()
    apt_install(pkgs)
    sr_iov_params = {}

    sr_iov_params['dvs_name'] = vcenter_info['dv_switch_sr_iov']['dv_switch_name']
    sr_iov_params['dvportgroup_name'] = vcenter_info['dv_port_group_sr_iov']['dv_portgroup_name']
    sr_iov_params['dvportgroup_num_ports'] = vcenter_info['dv_port_group_sr_iov']['number_of_ports']

    sr_iov_params['vcenter_server'] = vcenter_info['server']
    sr_iov_params['vcenter_username'] = vcenter_info['username']
    sr_iov_params['vcenter_password'] = vcenter_info['password']

    sr_iov_params['cluster_name'] = vcenter_info['cluster']
    sr_iov_params['datacenter_name'] = vcenter_info['datacenter']
    sr_iov_params['datacenter_mtu'] = vcenter_info['datacenter_mtu']

    sr_iov_params['esxi_info'] = esxi_info
    sr_iov_params['host_list'] = host_list

    sr_iov_fab(sr_iov_params)
Пример #3
0
def provision_sr_iov_fab(vcenter_info, esxi_info, host_list):
    pkgs = get_setup_vcenter_pkg()
    apt_install(pkgs)
    sr_iov_params = {}

    sr_iov_params["dvs_name"] = vcenter_info["dv_switch_sr_iov"]["dv_switch_name"]
    sr_iov_params["dvportgroup_name"] = vcenter_info["dv_port_group_sr_iov"]["dv_portgroup_name"]
    sr_iov_params["dvportgroup_num_ports"] = vcenter_info["dv_port_group_sr_iov"]["number_of_ports"]

    sr_iov_params["vcenter_server"] = vcenter_info["server"]
    sr_iov_params["vcenter_username"] = vcenter_info["username"]
    sr_iov_params["vcenter_password"] = vcenter_info["password"]

    sr_iov_params["cluster_name"] = vcenter_info["cluster"]
    sr_iov_params["datacenter_name"] = vcenter_info["datacenter"]
    sr_iov_params["datacenter_mtu"] = vcenter_info["datacenter_mtu"]

    sr_iov_params["esxi_info"] = esxi_info
    sr_iov_params["host_list"] = host_list

    sr_iov_fab(sr_iov_params)
Пример #4
0
def provision_sr_iov_fab(vcenter_info, esxi_info, host_list):
    pkgs = get_setup_vcenter_pkg()
    apt_install(pkgs)
    sr_iov_params = {}

    sr_iov_params['dvs_name'] = vcenter_info['dv_switch_sr_iov'][
        'dv_switch_name']
    sr_iov_params['dvportgroup_name'] = vcenter_info['dv_port_group_sr_iov'][
        'dv_portgroup_name']
    sr_iov_params['dvportgroup_num_ports'] = vcenter_info[
        'dv_port_group_sr_iov']['number_of_ports']

    sr_iov_params['vcenter_server'] = vcenter_info['server']
    sr_iov_params['vcenter_username'] = vcenter_info['username']
    sr_iov_params['vcenter_password'] = vcenter_info['password']

    sr_iov_params['cluster_name'] = vcenter_info['cluster']
    sr_iov_params['datacenter_name'] = vcenter_info['datacenter']
    sr_iov_params['datacenter_mtu'] = vcenter_info['datacenter_mtu']

    sr_iov_params['esxi_info'] = esxi_info
    sr_iov_params['host_list'] = host_list

    sr_iov_fab(sr_iov_params)