updates the vnic profile id of a given vmnic by a network name and vnic profile name and marks the vnicas invalid if no match for vnic profile found . concode_field_sep Set<String> invalidNetworkNames concode_elem_sep List<String> invalidIfaceNames concode_elem_sep AuditLogType logType concode_elem_sep Version compatibilityVersion concode_elem_sep Map<String,Network> networksInClusterByName concode_elem_sep Guid dataCenterId concode_elem_sep List<VnicProfileView> vnicProfilesInDc concode_elem_sep Guid clusterId concode_field_sep boolean updateNicWithVnicProfile concode_elem_sep Map<String,Network> getNetworksInCluster concode_elem_sep void markNicHasNoProfile concode_elem_sep void auditInvalidInterfaces concode_elem_sep NetworkDao getNetworkDao concode_elem_sep PermissionDAO getPermissionDAO concode_elem_sep VnicProfile findVnicProfileForUser concode_elem_sep boolean isVnicProfilePermitted concode_elem_sep List<VnicProfileView> getVnicProfilesInDc concode_elem_sep VnicProfileDao getVnicProfileDao concode_elem_sep VnicProfileViewDao getVnicProfileViewDao concode_elem_sep ValidationResult updateNicForBackwardCompatibility concode_elem_sep VnicProfile getVnicProfileForNetwork
void function ( VmNetworkInterface arg0 , DbUser arg1 ) { if ( ! updateNicWithVnicProfile ( arg0 , arg1 ) ) { markNicHasNoProfile ( arg0 ) ; } }