New-PveClusterSdnFabricsNode
Add a node
API: POST /cluster/sdn/fabrics/node/{fabric_id}, Proxmox VE API viewer
Syntax
Section titled “Syntax”New-PveClusterSdnFabricsNode [-PveTicket <PveTicket>] [-AllowedIps <array>] [-Digest <string>] [-Endpoint <string>] -FabricId <string> -Interfaces <array> [-Ip <string>] [-Ip6 <string>] [-LockToken <string>] -NodeId <string> [-Peers <array>] -Protocol <string> [-PublicKey <string>] [-Role <string>] [<CommonParameters>]Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
-PveTicket |
PveTicket |
No | Ticket data connection. |
-AllowedIps |
array |
No | A list of IPs that are routable via this node in the WireGuard fabric. |
-Digest |
string |
No | Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications. |
-Endpoint |
string |
No | The endpoint used for connecting to this node. |
-FabricId |
string |
Yes | Identifier for SDN fabrics. |
-Interfaces |
array |
Yes | |
-Ip |
string |
No | IPv4 address for this node. |
-Ip6 |
string |
No | IPv6 address for this node. |
-LockToken |
string |
No | the token for unlocking the global SDN configuration. |
-NodeId |
string |
Yes | Identifier for nodes in an SDN fabric. |
-Peers |
array |
No | |
-Protocol |
string |
Yes | Type of configuration entry in an SDN Fabric section config. Values: openfabric, ospf, wireguard, bgp. |
-PublicKey |
string |
No | The public key for the external node. |
-Role |
string |
No | The role of this node in the WireGuard fabric. Values: internal, external. |
Every parameter also binds by property name from the pipeline, so an object with node and vmid properties (the output of Get-PveGuest, for one) fills -Node and -Vmid. Without -PveTicket the cmdlet uses the last connection, see Connection.
Output
Section titled “Output”A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.