def _cfg_max_capacity(self, value): """The configured maximum capacity :param value: The configured max capacity value. The valid values are 0.0 <= x <= 1.0 up to 2 decimal places. This will be interpreted as a percentage, where 0.02 == 2%. """ self.set_parm_value(_SRIOVLP_CFG_MAX_CAPACITY, u.sanitize_percent_for_api(value))
def _max_capacity(self, float_val): self.set_parm_value(_VNICBD_MAX_CAP_PCT, u.sanitize_percent_for_api(float_val))