components/openstack/neutron/files/services/vpn/device_drivers/template/solaris/ipsecinit.conf.template
equal
deleted
inserted
replaced
|
1 # |
|
2 # Copyright (c) 2015, 2016 Oracle and/or its affiliates. All rights reserved. |
|
3 # |
|
4 # Licensed under the Apache License, Version 2.0 (the "License"); you may |
|
5 # not use this file except in compliance with the License. You may obtain |
|
6 # a copy of the License at |
|
7 # |
|
8 # http://www.apache.org/licenses/LICENSE-2.0 |
|
9 # |
|
10 # Unless required by applicable law or agreed to in writing, software |
|
11 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
|
12 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
|
13 # License for the specific language governing permissions and limitations |
|
14 # under the License. |
|
15 # |
|
16 # IKE Configuration for vpn-service "{{vpnservice.id}}" |
|
17 # Configuration for vpn-service "{{vpnservice.id}}" |
|
18 {% for ipsec_site_connection in vpnservice.ipsec_site_connections if ipsec_site_connection.admin_state_up |
|
19 %} |
|
20 { tunnel {{ipsec_site_connection['tunnel_id']}} negotiate tunnel laddr {{vpnservice.subnet.cidr}} raddr {{ipsec_site_connection['peer_cidrs']|join(' ')}} } ipsec |
|
21 |
|
22 { encr_auth_algs {{ipsec_site_connection.ipsecpolicy.auth_algorithm}} |
|
23 encr_algs {{ipsec_site_connection.ipsecpolicy.encryption_algorithm}} |
|
24 sa shared } |
|
25 |
|
26 {% endfor %} |
|
27 |