create network

This block is part of the virtualisation group and was last modified in core v15.0.0.

create network v13.0.9 Updated v15.0.0

Creates a network on the LXD server.

In pins 7 + flow
  • flow
  • Connection lxdconnection required

    The LXD connection

  • Name value required

    The name of the network to create.

  • Description value required

    The description of the network to create.

  • Type value required

    The type of the network to create.

  • Config array required

    Array of all the configs to set, has to be array with objects that all have fields key and value.

  • Auto assign IPv4 condition

    If this boolean is true the block will automaticly assign a IPv4 to the network.

  • Auto assign IPv4 prefix value

    The prefix to use when auto assigning a IPv4.

    Default 24

Out pins 3 + flow
  • flow
  • Connection lxdconnection

    The LXD connection

  • Success condition

    If successful, this pin returns true.

  • Error value

    Error message if the network could not be created.

A typical wiring for create network: a function trigger starts the flow; create network feeds the connection pin; value feeds the name pin; value feeds the description pin; value feeds the type pin; with values feeds the config pin; the flow out pin feeds debug.

Studio canvas example for the create network block: typical wiring for create network.

Version history

Introduced in v13.0.9.

Last modified in v15.0.0.

Service documentation

External API reference This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.
Back to virtualisation Return to the main group to view all sub-groups Back to LXD Return to the group to view all blocks within this group