Automation
Automations provide a method to automate tasks and action.
- Trigger data - The model data that will trigger (start) this automation.
Commands
Properties
Enable
Enable this automation.
- Data type: boolean
- Default:
true - Configuration
CLI: (cli)> config network link-aggregation <key> ipv4 dhcp-client-link-local-fallback enable
Label
The label used to describe and locate this automation.
- Data type: string
- Default:
DHCP client / link-local address fallback - Configuration
- Optional
CLI: (cli)> config network link-aggregation <key> ipv4 dhcp-client-link-local-fallback label
Running
The run status of this automation.
| Option | Label |
|---|---|
true | Running |
false | Not running |
- Data type: boolean
- Status
CLI: (cli)> show network link-aggregation <key> ipv4 dhcp-client-link-local-fallback running
Error
The error associated with the recent failed run.
- Data type: string
- Status
CLI: (cli)> show network link-aggregation <key> ipv4 dhcp-client-link-local-fallback error
Script
The javascript automation source.
- Data type: string
- Default:
if (data.mode === 'client') { const enable = !data.client.lease.address; console.log(${enable ? 'Enabling' : 'Disabling'} IPv4 link-local address) await model.push('../link-local/enable', enable); } - Configuration
- Required
CLI: (cli)> config network link-aggregation <key> ipv4 dhcp-client-link-local-fallback script
Run schedule
Run the automation action on a schedule.
- Data type: string
- Configuration
- Optional
CLI: (cli)> config network link-aggregation <key> ipv4 dhcp-client-link-local-fallback schedule
Run on start
Run the automation action immediately after boot up or the automation is added.
- Data type: boolean
- Default:
true - Configuration
CLI: (cli)> config network link-aggregation <key> ipv4 dhcp-client-link-local-fallback run-on-start
