'sets vf state.
@param vf_index: vf index
@param state: required state {True/False}'

def set_vf_state(self, vf_index, state):

    status_str = (self.LinkState.ENABLE if state else self.LinkState.DISABLE)
    self._set_feature(vf_index, 'state', status_str)
