summaryrefslogtreecommitdiffstats
path: root/test-requirements.txt
AgeCommit message (Expand)AuthorFilesLines
2017-05-17Clean test-requirements.txtCédric Ollivier1-21/+0
2017-05-17Add Python3 support to the ODL testcaseCédric Ollivier1-0/+1
2017-05-17Update/Add requirements to run ODL robot CSITJamo Luhrsen1-2/+3
2017-05-16Merge "Modify TestCase.__str__() to use PrettyTable"Jose Lausuch1-0/+1
2017-05-12Upgrade robotframework-sshlibrary to 2.1.3George Paraskevopoulos1-1/+1
2017-05-11Modify TestCase.__str__() to use PrettyTableCédric Ollivier1-0/+1
2017-02-28[odl-sfc] Add function to retrieve a resource from HEATJuan Vidal1-0/+1
2017-02-22Unit tests for vnf/ims.ashishk19941-0/+1
2017-02-03Unit tests for openstack/rally.ashishk19941-0/+1
2017-01-22Merge "Reverted the file permission"Helen Yao1-0/+0
2017-01-10Merge "Tackerclient added in test-requirement."Morgan Richomme1-0/+1
2017-01-04Added Unit Tests for cli.ashishk19941-1/+2
2017-01-04Reverted the file permissionhelenyao1-0/+0
2017-01-02Tackerclient added in test-requirement.ashishk19941-1/+2
2016-12-12Upgraded the virtualenvhelenyao1-1/+1
2016-12-05test-requirements.txt is added for unit test.helenyao1-0/+23
light .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
heat_template_version: pike

description: >
  OpenStack Neutron openvswitch service

parameters:
  DockerNamespace:
    description: namespace
    default: 'tripleoupstream'
    type: string
  DockerOpenvswitchImage:
    description: image
    default: 'centos-binary-neutron-openvswitch-agent:latest'
    type: string
  DockerNeutronConfigImage:
    description: The container image to use for the neutron config_volume
    default: 'centos-binary-neutron-server:latest'
    type: string
  ServiceNetMap:
    default: {}
    description: Mapping of service_name -> network name. Typically set
                 via parameter_defaults in the resource registry.  This
                 mapping overrides those in ServiceNetMapDefaults.
    type: json
  DefaultPasswords:
    default: {}
    type: json
  RoleName:
    default: ''
    description: Role name on which the service is applied
    type: string
  RoleParameters:
    default: {}
    description: Parameters specific to the role
    type: json
  EndpointMap:
    default: {}
    description: Mapping of service endpoint -> protocol. Typically set
                 via parameter_defaults in the resource registry.
    type: json

resources:

  ContainersCommon:
    type: ./containers-common.yaml

  NeutronOvsAgentBase:
    type: ../../puppet/services/neutron-ovs-agent.yaml
    properties:
      EndpointMap: {get_param: EndpointMap}
      ServiceNetMap: {get_param: ServiceNetMap}
      DefaultPasswords: {get_param: DefaultPasswords}
      RoleName: {get_param: RoleName}
      RoleParameters: {get_param: RoleParameters}

outputs:
  role_data:
    description: Role data for Neutron openvswitch service
    value:
      service_name: {get_attr: [NeutronOvsAgentBase, role_data, service_name]}
      config_settings: {get_attr: [NeutronOvsAgentBase, role_data, config_settings]}
      step_config: &step_config
        get_attr: [NeutronOvsAgentBase, role_data, step_config]
      puppet_config:
        config_volume: neutron
        puppet_tags: neutron_config,neutron_agent_ovs,neutron_plugin_ml2
        step_config: *step_config
        config_image:
          list_join:
          - '/'
          - [ {get_param: DockerNamespace}, {get_param: DockerNeutronConfigImage} ]
      kolla_config:
        /var/lib/kolla/config_files/neutron_ovs_agent.json:
          command: /usr/bin/neutron-openvswitch-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-dir /etc/neutron/conf.d/common
          config_files:
            - source: "/var/lib/kolla/config_files/src/*"
              dest: "/"
              merge: true
              preserve_properties: true
          permissions:
            - path: /var/log/neutron
              owner: neutron:neutron
              recurse: true
      docker_config:
        step_4:
          neutron_ovs_agent:
            image:
              list_join:
              - '/'
              - [ {get_param: DockerNamespace}, {get_param: DockerOpenvswitchImage} ]
            net: host
            pid: host
            privileged: true
            restart: always
            volumes:
              list_concat:
                - {get_attr: [ContainersCommon, volumes]}
                -
                  - /var/lib/kolla/config_files/neutron_ovs_agent.json:/var/lib/kolla/config_files/config.json:ro
                  - /var/lib/config-data/puppet-generated/neutron/:/var/lib/kolla/config_files/src:ro
                  - /lib/modules:/lib/modules:ro
                  - /run:/run
                  - /var/log/containers/neutron:/var/log/neutron
            environment:
              - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
      host_prep_tasks:
        - name: create persistent logs directory
          file:
            path: /var/log/containers/neutron
            state: directory
      upgrade_tasks:
        - name: Stop and disable neutron_ovs_agent service
          tags: step2
          service: name=neutron-openvswitch-agent state=stopped enabled=no