+{% if os.network.controller != 'ocl' %}
ceilometer-agent:
charm: ./{{ ubuntu.release }}/ceilometer-agent
options:
- openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
-{% if os.beta.public_api %}
+ openstack-origin: *openstack-origin
use-internal-endpoints: true
{% endif %}
{% if opnfv.storage_dict.ceph is defined %}
openvswitch-odl:
charm: ./{{ ubuntu.release }}/openvswitch-odl
options:
-+{% if opnfv.ext_port is defined %}
-+ provider_mappings: "physnet1:{{ opnfv.ext_port }}"
-+{% endif %}
+{% if opnfv.ext_port is defined %}
+ provider_mappings: "physnet1:{{ opnfv.ext_port }}"
+{% endif %}
{% if opnfv.spaces_dict.data is defined %}
os-data-network: {{ opnfv.spaces_dict.data.cidr }}
+{% else %}
+ os-data-network: {{ opnfv.spaces_dict.admin.cidr }}
{% endif %}
{% elif os.network.controller == 'onos' %}
neutron-api-onos:
{% if os.network.sfc %}
profile: onos-sfc
{% endif %}
-{% elif os.network.controller == 'ocl' %}
- ceilometer-contrail:
- charm: ./{{ ubuntu.release }}/ceilometer-contrail
- options:
- install-sources: ppa:opencontrail/trunk-20160812
- neutron-api-contrail:
- charm: ./{{ ubuntu.release }}/neutron-api-contrail
- options:
- install-sources: ppa:opencontrail/trunk-20160812
- neutron-contrail:
- charm: ./{{ ubuntu.release }}/neutron-contrail
- options:
- install-sources: ppa:opencontrail/trunk-20160812
- keepalived:
- charm: ./{{ ubuntu.release }}/keepalived
- options:
- router-id: 1
-{% if os.ha.mode == 'ha' %}
- virtual-ip: {{ opnfv.vip.keepalived }}
-{% endif %}
{% endif %}
{% if os.lxd %}
lxd:
charm: ./{{ ubuntu.release }}/lxd
options:
+{% if 'srv' not in opnfv.storage_dict.ceph.disk %}
+ block-devices: {{ opnfv.storage_dict.ceph.disk }}
+ overwrite: true
+ storage-type: zfs
+{% endif %}
{% endif %}
{% if opnfv.storage_dict.scaleio is defined %}
scaleio-openstack: