Class DeviceTaintSelector

    • Constructor Detail

      • DeviceTaintSelector

        public DeviceTaintSelector()
        No args constructor for use in serialization
      • DeviceTaintSelector

        public DeviceTaintSelector​(String device,
                                   String driver,
                                   String pool)
    • Method Detail

      • getDevice

        public String getDevice()
        If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.


        Setting also driver and pool may be required to avoid ambiguity, but is not required.

      • setDevice

        public void setDevice​(String device)
        If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.


        Setting also driver and pool may be required to avoid ambiguity, but is not required.

      • getDriver

        public String getDriver()
        If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.
      • setDriver

        public void setDriver​(String driver)
        If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.
      • getPool

        public String getPool()
        If pool is set, only devices in that pool are selected.


        Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.

      • setPool

        public void setPool​(String pool)
        If pool is set, only devices in that pool are selected.


        Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)