code: def _get_oxm_field_int(self):
          
          if self.oxm_class == OxmClass.OFPXMC_OPENFLOW_BASIC:
              return OxmOfbMatchField(self.oxm_field).value
          elif not isinstance(self.oxm_field, int) or self.oxm_field > 127:
              raise ValueError('oxm_field above 127: "{self.oxm_field}".')
          return self.oxm_field
docs: Return a valid integer value for oxm_field.
  
          Used while packing.
  
          Returns:
              int: valid oxm_field value.
  
          Raises:
              ValueError: If :attribute:`oxm_field` is bigger than 7 bits or
                  should be :class:`OxmOfbMatchField` and the enum has no such
                  value.