# A Heat environment that can be used to enable MLNX agent in neutron.
resource_registry:
  OS::TripleO::Services::NeutronMlnxAgent: ../../deployment/neutron/neutron-mlnx-agent-container-puppet.yaml
  OS::TripleO::Services::NeutronAgentsIBConfig: ../../deployment/neutron/neutron-agents-ib-config-container-puppet.yaml


parameter_defaults:
  NeutronMechanismDrivers: ['mlnx_sdn_assist','mlnx_infiniband']
  NeutronPhysicalDevMappings: ['datacentre:ib0']
  NovaSchedulerDefaultFilters: ['RetryFilter','AvailabilityZoneFilter','ComputeFilter','ComputeCapabilitiesFilter','ImagePropertiesFilter','ServerGroupAntiAffinityFilter','ServerGroupAffinityFilter','PciPassthroughFilter', 'NUMATopologyFilter']
  NovaSchedulerAvailableFilters: ["nova.scheduler.filters.all_filters","nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter"]
  MultiInterfaceEnabled: true
  BindNormalPortsPhysnet: 'datacentre'
  MultiInterfaceDriverMappings: ['datacentre:ipoib']
  IPoIBPhysicalInterface: 'ib0'
  NovaPCIPassthrough:
    - devname: "ib0"
      physical_network: datacentre

  ComputeSriovIBParameters:
    # Kernel arguments for ComputeSriov node
    KernelArgs: "intel_iommu=on iommu=pt"
