Reference For: developers, administrators

kyvernon network

The network command of the kyvernon CLI with its subcommands and arguments.

kyvernon network

Host-bridge networks / standard port groups

Usage
kyvernon network <COMMAND>

Subcommands: create, update, delete, dvs-create, dvs-update, dvs-delete, portgroup-create, portgroup-update, portgroup-delete, realization

kyvernon network create

Create a host-bridge network from a JSON body (CreateNetworkRequest schema)

Usage
kyvernon network create [OPTIONS]
ArgumentDescriptionRequired
--bodyInline JSON body
--body-fileFile with the JSON body (- for stdin)

API operation: POST /v1/networks

kyvernon network update

Update a network from a JSON body (UpdateNetworkRequest schema, with expectedVersion)

Usage
kyvernon network update [OPTIONS] <ID>
ArgumentDescriptionRequired
<ID>Network idyes
--bodyInline JSON body
--body-fileFile with the JSON body (- for stdin)

API operation: PUT /v1/networks/{id}

kyvernon network delete

Delete a network (no NIC may use it)

Usage
kyvernon network delete <ID>
ArgumentDescriptionRequired
<ID>Network idyes

API operation: DELETE /v1/networks/{id}

kyvernon network dvs-create

Create a distributed switch from a JSON body (CreateDistributedSwitchRequest: name, datacenter, MTU, uplinks, member hosts, hostUplinks with each host's NICs)

Usage
kyvernon network dvs-create [OPTIONS]
ArgumentDescriptionRequired
--bodyInline JSON body
--body-fileFile with the JSON body (- for stdin)

API operation: POST /v1/distributed-switches

kyvernon network dvs-update

Update a distributed switch (UpdateDistributedSwitchRequest, with expectedVersion)

Usage
kyvernon network dvs-update [OPTIONS] <ID>
ArgumentDescriptionRequired
<ID>Switch idyes
--bodyInline JSON body
--body-fileFile with the JSON body (- for stdin)

API operation: PUT /v1/distributed-switches/{id}

kyvernon network dvs-delete

Delete a distributed switch (it may have no port groups)

Usage
kyvernon network dvs-delete <ID>
ArgumentDescriptionRequired
<ID>Switch idyes

API operation: DELETE /v1/distributed-switches/{id}

kyvernon network portgroup-create

Create a distributed port group (CreateDistributedPortgroupRequest: VLAN or VNI, ipv4 subnet with range and DHCP, ipv6 prefix, staticAddresses)

Usage
kyvernon network portgroup-create [OPTIONS]
ArgumentDescriptionRequired
--bodyInline JSON body
--body-fileFile with the JSON body (- for stdin)

API operation: POST /v1/distributed-portgroups

kyvernon network portgroup-update

Update a distributed port group (UpdateDistributedPortgroupRequest)

Usage
kyvernon network portgroup-update [OPTIONS] <ID>
ArgumentDescriptionRequired
<ID>Port group idyes
--bodyInline JSON body
--body-fileFile with the JSON body (- for stdin)

API operation: PUT /v1/distributed-portgroups/{id}

kyvernon network portgroup-delete

Delete a distributed port group (no NIC may use it)

Usage
kyvernon network portgroup-delete <ID>
ArgumentDescriptionRequired
<ID>Port group idyes

API operation: DELETE /v1/distributed-portgroups/{id}

kyvernon network realization

Realization of the OVN logical networks: model and realised generation, Northbound connection, ports up, counters, every host's report

Usage
kyvernon network realization

API operation: GET /v1/network/realization

Version 0.1.