vinfra cluster traffic-type create

Create a new traffic type:

usage: vinfra cluster traffic-type create --port <port> 
                                          [--inbound-allow-list <addresses>]
                                          [--inbound-deny-list <addresses>]
                                          <traffic-type-name>
--port <port>
Traffic type port
--inbound-allow-list <addresses>
A comma-separated list of IP addresses
--inbound-deny-list <addresses>
A comma-separated list of IP addresses
<traffic-type-name>
Traffic type name

Example:

# vinfra cluster traffic-type create "MyTrafficType" --port 6900
+--------------------+---------------+
| Field              | Value         |
+--------------------+---------------+
| exclusive          | False         |
| hidden             | False         |
| inbound_allow_list | []            |
| inbound_deny_list  | []            |
| name               | MyTrafficType |
| port               | 6900          |
| type               | custom        |
+--------------------+---------------+

This command creates a custom traffic type MyTrafficType on port 6900.