Skip to content

Automated Actions

Automated actions let your plugin automatically update VLAN and machine settings when it’s applied to a scenario. Instead of requiring the scenario architect to manually configure DNS forwarding, RAM, CPU cores, or network settings, your plugin can do it for them.

An automated action is a rule that says: “When this plugin is applied (or a parameter changes), update this field on the VLAN or machine to this value.”

The scenario architect sees the recommended changes in a preview dialog and can accept or decline each one individually.

FieldWhat It Sets
NicknameVLAN display name
DNS Forwarding TargetsDomain-to-IP DNS forwarding rules
Static Host MappingsHostname-to-IP static DNS entries
GatewayDefault gateway address
AddressVLAN network address (CIDR)
Provide DHCPEnable/disable DHCP on the VLAN
DHCP Range Start/EndDHCP address pool
FieldWhat It Sets
NicknameMachine display name
RAM (GB)Memory allocation
CPU CoresProcessor allocation
Architect Username/PasswordDefault credentials

Each automated action maps a target field to either a static value or a parameter reference using ${ParamName} syntax:

  • Static: "value": "2" — always sets RAM to 2 GB
  • Dynamic: "value": "${DomainNameFQDN}" — uses the parameter value the architect provided

For list fields (like DNS forwarding targets), you can specify a list operation:

  • addOrUpdate — merge into the existing list, matching by a key field
  • set — replace the entire list
TriggerWhen It Fires
ON_APPLYPlugin is first added to a machine
ON_UPGRADEPlugin version is upgraded
ON_PARAM_CHANGEA parameter value is changed

The Create ROOT Domain Controller plugin has 4 automated actions that fire when it’s applied:

Sets the VLAN’s display name to the domain name, so the network view shows “corp.local” instead of “VLAN 1”:

PropertyValue
TargetVLAN → Nickname
Value${DomainNameFQDN}

Adds a DNS forwarding rule to the VLAN so other machines on the network can resolve domain names through this DC:

PropertyValue
TargetVLAN → DNS Forwarding Targets
OperationaddOrUpdate (merge by domainName)
domainName${DomainNameFQDN}
dnsForwardingTargetIP${StaticIP}

Domain controllers need more memory than default. This bumps the VM to 2 GB:

PropertyValue
TargetMachine → RAM (GB)
Value2

Similarly, bumps CPU to 2 cores:

PropertyValue
TargetMachine → CPU Cores
Value2

When a scenario architect applies a plugin with automated actions, they see a dialog showing all recommended changes:

  • Each recommendation shows the target (VLAN or machine icon), the field, the current value, and the proposed new value
  • The architect can accept all, accept individually, or decline all
  • Accepted changes are applied atomically alongside the plugin