Searched refs:primary_nic (Results 1 – 6 of 6) sorted by relevance
/dports/sysutils/py-azure-cli/azure-cli-2.29.2/azure/cli/command_modules/vm/ |
H A D | custom.py | 2075 def add_vm_nic(cmd, resource_group_name, vm_name, nics, primary_nic=None): argument 2079 return _update_vm_nics(cmd, vm, existing_nics + new_nics, primary_nic) 2082 def remove_vm_nic(cmd, resource_group_name, vm_name, nics, primary_nic=None): argument 2091 return _update_vm_nics(cmd, vm, survived, primary_nic) 2094 def set_vm_nic(cmd, resource_group_name, vm_name, nics, primary_nic=None): argument 2097 return _update_vm_nics(cmd, vm, nics, primary_nic) 2121 def _update_vm_nics(cmd, vm, nics, primary_nic): argument 2124 if primary_nic: 2126 _, primary_nic_name = _parse_rg_name(primary_nic) 2128 primary_nic_name = primary_nic [all …]
|
H A D | _validators.py | 179 if hasattr(namespace, 'primary_nic') and namespace.primary_nic: 180 namespace.primary_nic = _get_nic_id(cmd.cli_ctx, namespace.primary_nic, rg)
|
/dports/devel/py-moto/moto-2.2.16/moto/ec2/ |
H A D | models.py | 1022 primary_nic = { 1027 primary_nic = dict((k, v) for k, v in primary_nic.items() if v) 1031 if primary_nic and not nic_spec: 1032 nic_spec[0] = primary_nic 1048 if device_index == 0 and primary_nic: 1049 nic.update(primary_nic)
|
/dports/net/py-libcloud/apache-libcloud-3.4.1/test/compute/ |
H A D | test_nttcis.py | 2393 primary_nic = network_info.find(fixxpath('primaryNic', TYPES_URN)) 2394 ipv4 = findtext(primary_nic, 'privateIpv4', TYPES_URN) 2395 vlanId = findtext(primary_nic, 'vlanId', TYPES_URN)
|
H A D | test_dimensiondata_v2_3.py | 2531 primary_nic = network_info.find(fixxpath('primaryNic', TYPES_URN)) 2532 ipv4 = findtext(primary_nic, 'privateIpv4', TYPES_URN) 2533 vlanId = findtext(primary_nic, 'vlanId', TYPES_URN)
|
H A D | test_dimensiondata_v2_4.py | 2620 primary_nic = network_info.find(fixxpath('primaryNic', TYPES_URN)) 2621 ipv4 = findtext(primary_nic, 'privateIpv4', TYPES_URN) 2622 vlanId = findtext(primary_nic, 'vlanId', TYPES_URN)
|