Binds OpenFlow and OVSDB IPs
[integration/packaging/puppet-opendaylight.git] / templates / default-openflow-connection-config.xml.erb
1 <switch-connection-config xmlns="urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:config">
2   <instance-name>openflow-switch-connection-provider-default-impl</instance-name>
3   <port>6653</port>
4   <address><%= scope.lookupvar('opendaylight::odl_bind_ip') %></address>
5   <transport-protocol><%= scope.lookupvar('opendaylight::config::transport_protocol') %></transport-protocol>
6   <tls>
7      <keystore>configuration/ssl/ctl.jks</keystore>
8      <keystore-type>JKS</keystore-type>
9      <keystore-path-type>PATH</keystore-path-type>
10      <keystore-password><%= scope.lookupvar('opendaylight::tls_keystore_password') %></keystore-password>
11      <truststore>configuration/ssl/truststore.jks</truststore>
12      <truststore-type>JKS</truststore-type>
13      <truststore-path-type>PATH</truststore-path-type>
14      <truststore-password><%= scope.lookupvar('opendaylight::tls_keystore_password') %></truststore-password>
15      <certificate-password><%= scope.lookupvar('opendaylight::tls_keystore_password') %></certificate-password>
16   </tls>
17 </switch-connection-config>