Convert to reduced list of known types (#50010)

This commit is contained in:
Dag Wieers
2018-12-18 22:25:30 +01:00
committed by Jordan Borean
parent fcd1486b51
commit 05c6ff79f9
908 changed files with 4822 additions and 4821 deletions

View File

@@ -81,31 +81,31 @@ network:
contains:
id:
description: Network ID.
type: string
type: str
sample: "8c787000-a000-4050-a215-280893411a7d"
name:
description: Network name.
type: string
type: str
sample: "My network"
description:
description: Network description.
type: string
type: str
sample: "My network description"
location:
description: Datacenter location.
type: string
type: str
sample: NA3
status:
description: Network status. (MCP 2.0 only)
type: string
type: str
sample: NORMAL
private_net:
description: Private network subnet. (MCP 1.0 only)
type: string
type: str
sample: "10.2.3.0"
multicast:
description: Multicast enabled? (MCP 1.0 only)
type: boolean
type: bool
sample: false
'''
import traceback

View File

@@ -112,23 +112,23 @@ vlan:
contains:
id:
description: VLAN ID.
type: string
type: str
sample: "aaaaa000-a000-4050-a215-2808934ccccc"
name:
description: VLAN name.
type: string
type: str
sample: "My VLAN"
description:
description: VLAN description.
type: string
type: str
sample: "My VLAN description"
location:
description: Datacenter location.
type: string
type: str
sample: NA3
private_ipv4_base_address:
description: The base address for the VLAN's private IPV4 network.
type: string
type: str
sample: 192.168.23.0
private_ipv4_prefix_size:
description: The prefix size for the VLAN's private IPV4 network.
@@ -136,11 +136,11 @@ vlan:
sample: 24
private_ipv4_gateway_address:
description: The gateway address for the VLAN's private IPV4 network.
type: string
type: str
sample: 192.168.23.1
private_ipv6_base_address:
description: The base address for the VLAN's IPV6 network.
type: string
type: str
sample: 2402:9900:111:1195:0:0:0:0
private_ipv6_prefix_size:
description: The prefix size for the VLAN's IPV6 network.
@@ -148,11 +148,11 @@ vlan:
sample: 64
private_ipv6_gateway_address:
description: The gateway address for the VLAN's IPV6 network.
type: string
type: str
sample: 2402:9900:111:1195:0:0:0:1
status:
description: VLAN status.
type: string
type: str
sample: NORMAL
'''