{ "additionalProperties": false, "extends": { "$ref": "AttachmentContext }, "id": "L2VpnAttachmentContext", "module_id": "LogicalPort", "polymorphic-type-descriptor": { "type-identifier": "L2VpnAttachmentContext" }, "properties": { "allocate_addresses": { "enum": [ "IpPool", "MacPool", "Both", "None", "Dhcp" ], "required": false, "title": "A flag to indicate whether to allocate addresses from allocation\n pools bound to the parent logical switch.\n", "type": "string" }, "local_egress_ip": { "description": "List of local egress IP addresses, used for local egress optimization.", "items": { "$ref": "IPElement }, "required": false, "title": "Array of local egress IPs", "type": "array" }, "resource_type": { "help_summary": "Possible values are 'VifAttachmentContext' or 'L2VpnAttachmentContext'\n", "required": true, "title": "Used to identify which concrete class it is", "type": "string" }, "tunnel_id": { "maximum": 4093, "minimum": 1, "required": true, "title": "Tunnel Id to uniquely identify the extension.", "type": "int" } }, "type": "object" }