You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The UUID an a VRF IP Reservation that belongs to the same project as the one in which the Metal Gateway is to be created. Additionally, the VRF IP Reservation and the Virtual Network must reside in the same Metro.
private_ipv4_subnet_size
int
The subnet size (8, 16, 32, 64, or 128) of the private IPv4 reservation that will be created for the metal gateway. This field is required unless a project IP reservation was specified. Please keep in mind that the number of private metal gateway ranges are limited per project. If you would like to increase the limit per project, please contact support for assistance.
[optional]
virtual_network_id
str
The UUID of a Metro Virtual Network that belongs to the same project as the one in which the Metal Gateway is to be created. Additionally, the Virtual Network and the VRF IP Reservation must reside in the same metro. In the case of the IP reservation being an IPv6 based VRF IP Reservation, the Virtual Network must not already have an associated IPv6 based VRF IP Reservation. There can be exactly one IPv6 based VRF IP Reservation associated to a Virtual Network.
Example
fromequinix_metal.models.create_metal_gateway_requestimportCreateMetalGatewayRequest# TODO update the JSON string belowjson="{}"# create an instance of CreateMetalGatewayRequest from a JSON stringcreate_metal_gateway_request_instance=CreateMetalGatewayRequest.from_json(json)
# print the JSON string representation of the objectprint(CreateMetalGatewayRequest.to_json())
# convert the object into a dictcreate_metal_gateway_request_dict=create_metal_gateway_request_instance.to_dict()
# create an instance of CreateMetalGatewayRequest from a dictcreate_metal_gateway_request_form_dict=create_metal_gateway_request.from_dict(create_metal_gateway_request_dict)