summaryrefslogtreecommitdiffstats
path: root/kernel/fs/jffs2/fs.c
diff options
context:
space:
mode:
authorJosé Pekkarinen <jose.pekkarinen@nokia.com>2015-11-24 09:24:14 +0200
committerJosé Pekkarinen <jose.pekkarinen@nokia.com>2015-12-02 10:03:19 +0200
commit0a077e22696f1cee241ef9991f337f04253884a3 (patch)
treecda696d960731af9e88375931a204e6fc04302c9 /kernel/fs/jffs2/fs.c
parentcc62f651747d5844cc12d33fb3620a7d05bae7dc (diff)
Add virtual functions support to ixgbe and i40e.
Change-Id: Iecc8205f443e2e47fc955c80bf6f0aa55db75447 Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>
Diffstat (limited to 'kernel/fs/jffs2/fs.c')
0 files changed, 0 insertions, 0 deletions
/a> 125 126 127 128 129 130 131 132 133 134 135 136
{% if opnfv.storage_dict.ceph is defined %}
    ceph-mon:
      charm: "./{{ ubuntu.release }}/ceph-mon"
      num_units: {{ unit_ceph_qty() }}
{% if os.service.bindings %}
      bindings:
        "": internal-api
{% if opnfv.spaces_dict.storage is defined %}
        public: storage-cluster
{% else %}
        public: internal-api
{% endif %}
{% endif %}
      options:
        monitor-count: {{ unit_ceph_qty() }}
        fsid: ecbb8960-0e21-11e2-b495-83a88f44db01
        monitor-secret: AQD1P2xQiKglDhAA4NGUF5j38Mhq56qwz+45wg==
{% if ubuntu.release == 'trusty' and os.release < 'newton' %}
        source: "cloud:{{ ubuntu.release }}-updates/{{ os.release }}"
{% elif ubuntu.release == 'xenial' and os.release >= 'newton' %}
        source: "cloud:{{ ubuntu.release }}-updates/{{ os.release }}"
{% endif %}
{% if os.network.ipv6 %}
        prefer-ipv6: {{ os.network.ipv6 }}
{% endif %}
      to:
{% if os.hyperconverged %}
{% for unit_id in to_select(unit_ceph_qty()) %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}
{% else %}
{% if os.ha.mode == 'ha' %}
{% for unit_id in range(0, 3) %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}
{% else %}
        - "lxd:nodes/0"
        - "lxd:nodes/1"
        - "lxd:nodes/2"
{% endif %}
{% endif %}
    ceph-osd:
      charm: "./{{ ubuntu.release }}/ceph-osd"
{% if os.hyperconverged %}
{% if opnfv.units >= 3 %}
      num_units: {{ unit_ceph_qty() }}
{% else %}
      num_units: {{ opnfv.units }}
{% endif %}
{% else %}
      num_units: 3
{% endif %}
{% if os.service.bindings %}
      bindings:
        "": internal-api
{% if opnfv.spaces_dict.storage is defined %}
        public: storage-cluster
        cluster: storage-cluster
{% else %}
        public: internal-api
        cluster: internal-api
{% endif %}
{% endif %}
      options:
{% if os.lxd %}
        osd-devices: /srv/ceph-osd
{% else %}
        osd-devices: {{ opnfv.storage_dict.ceph.disk }}
{% endif %}
        osd-reformat: 'yes'
{% if ubuntu.release == 'trusty' and os.release < 'newton' %}
        source: "cloud:{{ ubuntu.release }}-updates/{{ os.release }}"
{% elif ubuntu.release == 'xenial' and os.release >= 'newton' %}
        source: "cloud:{{ ubuntu.release }}-updates/{{ os.release }}"
{% endif %}
{% if os.network.ipv6 %}
        prefer-ipv6: {{ os.network.ipv6 }}
{% endif %}
      to:
{% if os.hyperconverged %}
{% if opnfv.units >= 3 %}
{% for unit_id in range(0, 3) %}
        - "nodes/{{ unit_id }}"
{% endfor %}
{% else %}
 {% for unit_id in range(0, opnfv.units) %}
         - "nodes/{{ unit_id }}"
 {% endfor %}
{% endif %}
{% else %}
{% if os.ha.mode == 'ha' %}
{% for unit_id in range(0, 3) %}
        - "nodes/{{ unit_id }}"
{% endfor %}
{% else %}
        - "nodes/0"
        - "nodes-compute/0"
        - "nodes-compute/1"
{% endif %}
{% endif %}
    ceph-radosgw:
      charm: "./{{ ubuntu.release }}/ceph-radosgw"
      num_units: {{ unit_qty() if os.beta.hacluster_ceph_radosgw else 1 }}
{% if os.service.bindings %}
      bindings:
        "": internal-api
        internal: internal-api
        admin: internal-api
{% if opnfv.spaces_dict.public is defined %}
        public: public-api
{% else %}
        public: internal-api
{% endif %}
{% if opnfv.spaces_dict.storage is defined %}
        mon: storage-cluster
{% endif %}
{% endif %}
      options:
        region: {{ os.region }}
        operator-roles: "Member,admin"
{% if ubuntu.release == 'trusty' and os.release < 'newton' %}
        source: "cloud:{{ ubuntu.release }}-updates/{{ os.release }}"
{% elif ubuntu.release == 'xenial' and os.release >= 'newton' %}
        source: "cloud:{{ ubuntu.release }}-updates/{{ os.release }}"
{% endif %}
{% if os.network.ipv6 %}
        prefer-ipv6: {{ os.network.ipv6 }}
{% endif %}
{% if opnfv.storage_dict.ceph is defined %}
        ceph-osd-replication-count: {{ unit_ceph_qty() }}
{% endif %}
      to:
{% for unit_id in to_select(unit_qty() if os.beta.hacluster_ceph_radosgw else 1) %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}
{% endif %}