[Index]

Model: data/DeviceModelOverride

Instances of this model are modules which, when enabled, apply Jinja2 template overrides to DeviceModel instances of a certain type in order to activate a feature.

Model Details: data/DeviceModelOverride

Title Description Details
Name *
  • Field Name: name
  • Type: String
Description *
  • Field Name: description
  • Type: String
Device Type * Match device type of device model instances
  • Field Name: device_type
  • Type: String
Version * Match version of device model instances
  • Field Name: version
  • Type: String
Condition * Jinja2 template which must evaluate to true for this module to be enabled
  • Field Name: condition
  • Type: String
Overrides
  • Field Name: overrides.[n]
  • Type: Array
Operation * Regular expression to match device model operation names
  • Field Name: overrides.[n].operation
  • Type: String
Template Type * Template type to match device model template types
  • Field Name: overrides.[n].template_type
  • Type: String
  • Choices: ["URI", "Request Template", "Response Code Template", "Response Template"]
Template * Jinja2 template that will receive the output of the previous render for this operation and template type along with the normal context
  • Field Name: overrides.[n].template
  • Type: String