Skip to content

Instantly share code, notes, and snippets.

@FransUrbo
Created December 14, 2016 22:34
Show Gist options
  • Save FransUrbo/7ae2bc22337fc3daed3b8ee6cf3fdd9c to your computer and use it in GitHub Desktop.
Save FransUrbo/7ae2bc22337fc3daed3b8ee6cf3fdd9c to your computer and use it in GitHub Desktop.
router:
type: OS::Neutron::Router
properties:
name: infrastructure
distributed: true
ha: false
admin_state_up: true
external_gateway_info: {
external_fixed_ips: [ { subnet: { get_resource: subnet }, ip_address: 10.0.5.1 } ],
network: { get_resource: network },
enable_snat: true
}
gateway:
type: OS::Neutron::RouterGateway
properties:
router_id: { get_resource: router }
network_id: { get_resource: network }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment