Skip to content

Commit

Permalink
Merge pull request #536 from ben-ihelputech/patch-1
Browse files Browse the repository at this point in the history
Add target node documentation
  • Loading branch information
stgraber committed Mar 30, 2023
2 parents 7949f97 + 1bd8fbe commit fe37358
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/source/instances.rst
Expand Up @@ -20,11 +20,11 @@ methods:
- `exists(name)` - Returns `boolean` indicating if the instance exists.
- `all()` - Retrieve all instances.
- `get()` - Get a specific instance, by its name.
- `create(config, wait=False)` - Create a new instance. This method
requires the instance config as the first parameter.
The config itself is beyond the scope of this documentation. Please
refer to the LXD documentation for more information. This method
will also return immediately, unless `wait` is `True`.
- `create(config, wait=False, target='lxd-cluster-member')` - Create a new instance.
- This method requires the instance config as the first parameter.
- The config itself is beyond the scope of this documentation. Please refer to the LXD documentation for more information.
- This method will also return immediately, unless `wait` is `True`.
- Optionally, the target node can be specified for LXD clusters.


Instance attributes
Expand Down

0 comments on commit fe37358

Please sign in to comment.