---
##############################################################################
-# Copyright © 2018 AT&T Intellectual Property. All rights reserved. #
+# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
# not use this file except in compliance with the License. #
metadata:
schema: metadata/Document/v1
name: neutron
+ replacement: true
labels:
component: neutron
layeringDefinition:
abstract: false
layer: site
parentSelector:
- name: neutron-5ec
+ name: neutron-global
actions:
- method: merge
path: .
storagePolicy: cleartext
data:
values:
+ labels:
+ agent:
+ sriov:
+ node_selector_key: sriov
+ node_selector_value: enabled
network:
- auto_bridge_add:
- br-bond0: bond0
+ backend:
+ - openvswitch
+ - sriov
interface:
sriov:
{% for sriovnet in yaml.sriovnets %}
plugins:
openvswitch_agent:
ovs:
- bridge_mappings: oam:br-bond0
+ bridge_mappings: bond0:br-bond0
sriov_agent:
+ securitygroup:
+ firewall_driver: neutron.agent.firewall.NoopFirewallDriver
sriov_nic:
+ exclude_devices: null
physical_device_mappings: '
{%- for sriovnet in yaml.sriovnets -%}
{%- if loop.index > 1 -%}
{{sriovnet.physical}}:{{sriovnet.interface}}
{%- endfor %}'
ml2_conf:
+ ml2:
+ mechanism_drivers: l2population,openvswitch,sriovnicswitch
ml2_type_vlan:
- network_vlan_ranges: oam:100:4000
+ network_vlan_ranges: bond0:46:300
{%- for sriovnet in yaml.sriovnets -%}
,{{sriovnet.physical}}:{{sriovnet.vlan_start}}:{{sriovnet.vlan_end}}
{%- endfor %}