| Name |
Type |
Description |
Notes |
| disabled |
bool |
Whether the port is disabled or not |
[optional] |
| id |
str |
The port's unique identifier |
[optional] |
| link |
str |
The link state of the port: up or down |
[optional] |
| name |
str |
A user-friendly display name for the port |
[optional] |
| reserved_by |
str |
The owner of the port |
[optional] |
| speed |
str |
The port's speed |
[optional] |
| status |
str |
The current status of the port: ready or not ready |
[optional] |
| tags |
List[str] |
A list of tags |
[optional] |
| traffic_status |
str |
The traffic status of the port |
[optional] |
from cyperf.models.port import Port
# TODO update the JSON string below
json = "{}"
# create an instance of Port from a JSON string
port_instance = Port.from_json(json)
# print the JSON string representation of the object
print(Port.to_json())
# convert the object into a dict
port_dict = port_instance.to_dict()
# create an instance of Port from a dict
port_from_dict = Port.from_dict(port_dict)
[Back to Model list] [Back to API list] [Back to README]