vinfra cluster network create

Create a new network:

usage: vinfra cluster network create [--traffic-types <traffic-types>]
                                     [--inbound-allow-list <addresses>]
                                     [--inbound-deny-list <addresses>]
                                     [--outbound-allow-list <rules>]
                                     <network-name>
--traffic-types <traffic-types>
A comma-separated list of traffic type IDs or names
--inbound-allow-list <addresses>
A comma-separated list of IP addresses
--inbound-deny-list <addresses>
A comma-separated list of IP addresses
--outbound-allow-list <rules>
A comma-separated list of allow rules in the format: <address>:<protocol>:<port>:<description>
<network-name>
Network name

Example:

# vinfra cluster network create MyNet --traffic-types ssh
+---------------------+------------------------------------------+
| Field               | Value                                    |
+---------------------+------------------------------------------+
| id                  | b451c5ed-a553-4214-96c4-d926daa6110e     |
| inbound_allow_list  | []                                       |
| inbound_deny_list   | []                                       |
| name                | MyNet                                    |
| outbound_allow_list | - 0.0.0.0:tcp:8888:Internal management   |
|                     | - 0.0.0.0:tcp:80:HTTP                    |
|                     | - 0.0.0.0:tcp:443:HTTPS                  |
|                     | - 0.0.0.0:udp:53:DNS                     |
|                     | - 0.0.0.0:tcp:53:DNS                     |
|                     | - 0.0.0.0:udp:123:NTP                    |
|                     | - 0.0.0.0:tcp:8443:ABGW registration     |
|                     | - 0.0.0.0:tcp:44445:ABGW Geo-replication |
|                     | - 0.0.0.0:tcp:9877:Acronis Cyber Protect |
|                     | - 0.0.0.0:any:0:Allow all                |
| name                | MyNet                                    |
| traffic_types       | SSH                                      |
| vlan                |                                          |
+---------------------+------------------------------------------+

This command creates a custom network MyNet and assigns the traffic type SSH to it.