<commit_before>---
####################
# Services
####################

ovsdpdk_services:
  ovsdpdk-db:
    container_name: "ovsdpdk_db"
    image: "{{ ovsdpdk_db_image_full }}"
    enabled: "{{ neutron_plugin_agent == 'openvswitch' }}"
    host_in_groups: >-
      {{
      inventory_hostname in groups['compute']
      or (enable_manila | bool and inventory_hostname in groups['manila-share'])
      or inventory_hostname in groups['neutron-dhcp-agent']
      or inventory_hostname in groups['neutron-l3-agent']
      or inventory_hostname in groups['neutron-metadata-agent']
      or inventory_hostname in groups['neutron-vpnaas-agent']
      }}
    volumes:
      - "{{ node_config_directory }}/ovsdpdk-db/:{{ container_config_directory }}/:ro"
      - "/etc/localtime:/etc/localtime:ro"
      - "/run:/run:shared"
      - "kolla_logs:/var/log/kolla/"
      - "ovsdpdk_db:/var/lib/openvswitch/"
  ovsdpdk-vswitchd:
    container_name: "ovsdpdk_vswitchd"
    image: "{{ ovsdpdk_vswitchd_image_full }}"
    enabled: "{{ neutron_plugin_agent == 'openvswitch' }}"
    privileged: True
    host_in_groups: >-
      {{
      inventory_hostname in groups['compute']
      or (enable_manila | bool and inventory_hostname in groups['manila-share'])
      or inventory_hostname in groups['neutron-dhcp-agent']
      or inventory_hostname in groups['neutron-l3-agent']
      or inventory_hostname in groups['neutron-metadata-agent']
      or inventory_hostname in groups['neutron-vpnaas-agent']<commit_msg>Enable ovsdpdk w/ ODL Neutron_Plugin_Agent<commit_after>---
####################
# Services
####################

ovsdpdk_services:
  ovsdpdk-db:
    container_name: "ovsdpdk_db"
    image: "{{ ovsdpdk_db_image_full }}"
    enabled: "{{ neutron_plugin_agent in ['openvswitch', 'opendaylight'] }}"
    host_in_groups: >-
      {{
      inventory_hostname in groups['compute']
      or (enable_manila | bool and inventory_hostname in groups['manila-share'])
      or inventory_hostname in groups['neutron-dhcp-agent']
      or inventory_hostname in groups['neutron-l3-agent']
      or inventory_hostname in groups['neutron-metadata-agent']
      or inventory_hostname in groups['neutron-vpnaas-agent']
      }}
    volumes:
      - "{{ node_config_directory }}/ovsdpdk-db/:{{ container_config_directory }}/:ro"
      - "/etc/localtime:/etc/localtime:ro"
      - "/run:/run:shared"
      - "kolla_logs:/var/log/kolla/"
      - "ovsdpdk_db:/var/lib/openvswitch/"
  ovsdpdk-vswitchd:
    container_name: "ovsdpdk_vswitchd"
    image: "{{ ovsdpdk_vswitchd_image_full }}"
    enabled: "{{ neutron_plugin_agent in ['openvswitch', 'opendaylight'] }}"
    privileged: True
    host_in_groups: >-
      {{
      inventory_hostname in groups['compute']
      or (enable_manila | bool and inventory_hostname in groups['manila-share'])
      or inventory_hostname in groups['neutron-dhcp-agent']
      or inventory_hostname in groups['neutron-l3-agent']
      or inventory_hostname in groups['neutron-metadata-agent']
      or inventory_hostname in groups['neutron-vpnaas-agent']
{'fraction_non_alphanumeric': 0.15171288743882544, 'fraction_numerical': 0.0013050570962479609, 'mean_word_length': 3.7024539877300615, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4878626', 'n_tokens_mistral': 1010, 'n_tokens_neox': 1026, 'n_words': 175}