Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Testbed Definitions File Settings for Deploying Contrail with an Existing OpenStack Node

    It is possible to deploy Contrail when there is already an existing OpenStack node on your system.

    The following shows additional testbed.py definitions that are required to deploy Contrail when there is already an existing OpenStack node.

    1. Update the Openstack admin password in the testbed.py.

      env.openstack_admin_password = '<password>'

    2. Update the keystone environment section as in the following.
      env.keystone = {
      'keystone_ip'  : 'x.y.z.a’,        # same IP as the openstack IP address
      
       'auth_protocol' : 'http',          # Default is http               
      
       'auth_port'  : '35357',             # Default is 35357          
      
       'admin_token'  : $ABC123',  
                                                        # Uses the admin_token from /etc/keystone/keystone.conf of the openstack node     
        'admin_user'   : 'admin',            # Default is admin
      
       'admin_password': '<password>',  'service_tenant': 'service',          # Default is service   
        'admin_tenant' : 'admin',            # Default is admin            
      
        'region_name' : 'RegionOne',       # Default is RegionOne  
      
        'insecure'   :'True',         # Default = False, however, "insecure" is applicable only when protocol is https    
        'manage_neutron': 'no',            # Default = 'yes' , Does configure neutron user/role in keystone required.                                
      
      }
    3. Update the openstack environment section as in the following, where:
      • service_token is the common service token for all services like nova, neutron, glance, cinder, and so on.
      • amqp_host is the IP of the AMQP server to be used for openstack​.
      • manage_amqp, the default = 'no', if set to 'yes', provisions amqp in openstack nodes and openstack services uses the amqp in openstack nodes instead of config nodes. The amqp_host is neglected if manage_amqp is set.
      env.openstack = {
      
         'service_token': $ABC123’,   # the admin_token from keystone.conf of the   openstack node
      
          'amqp_host' : '<ip address>’,     # same as the IP address of the openstack node           
      
          'manage_amqp' : 'yes',                    
      
       }

    Modified: 2016-06-13