Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.94 KB

File metadata and controls

45 lines (36 loc) · 1.94 KB

IPNetwork

The IP network configuration

Properties

Name Type Description Notes
name str
id str
network_tags List[str] A list of tags. [optional]
dns_resolver DNSResolver [optional]
dns_server DNSServer The DNS Server configuration for Network Segment [optional]
dut_connections List[str] The connected DUT network segments. [optional]
emulated_router object [optional]
eth_range object [optional]
ip_ranges List[IPRange] [optional]
ip_sec_stacks List[IPSecStack] [optional]
mac_dtls_stacks List[MacDtlsStack] [optional]
tunnel_stacks List[TunnelStack] [optional]
active bool A flag indicating if the network segment is active.(default: true) [optional]
agent_assignments AgentAssignments [optional]
links List[APILink] [optional]
min_agents int The minimum number of agents that should be assigned to this network segment in a valid test (default: 1). [optional]

Example

from cyperf.models.ip_network import IPNetwork

# TODO update the JSON string below
json = "{}"
# create an instance of IPNetwork from a JSON string
ip_network_instance = IPNetwork.from_json(json)
# print the JSON string representation of the object
print(IPNetwork.to_json())

# convert the object into a dict
ip_network_dict = ip_network_instance.to_dict()
# create an instance of IPNetwork from a dict
ip_network_from_dict = IPNetwork.from_dict(ip_network_dict)

[Back to Model list] [Back to API list] [Back to README]