This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
quickstack_opnfv_puppet_guide [2015/03/09 22:27] Tim Rozet created |
quickstack_opnfv_puppet_guide [2015/03/09 22:43] (current) Tim Rozet |
||
---|---|---|---|
Line 75: | Line 75: | ||
''sudo mv puppet-opendaylight opendaylight'' | ''sudo mv puppet-opendaylight opendaylight'' | ||
- | Then the global variables of the trystack controller class in /etc/puppet/environments/production/modules/trystack/manifests/controller.pp need to be defined in Configure>Global Parameters. Unless explicitly noted below they can have any value. For the sake of simplicity all passwords/tokens can have the same value. | + | === wait_for Puppet Module === |
+ | This module is used to wait for ODL to come up before OVS is connected. | ||
+ | |||
+ | ''cd /etc/puppet/environments/production/modules/'' | ||
+ | |||
+ | There clone the git repo of wait-for. | ||
+ | |||
+ | ''sudo git clone https://github.com/basti1302/puppet-wait-for.git'' | ||
+ | |||
+ | And rename it: | ||
+ | |||
+ | ''sudo mv puppet-wait-for wait-for'' | ||
+ | |||
+ | ==== Running Puppet Modules ==== | ||
+ | The OPNFV puppet modules are the only ones that need to be invoked onto a node. They will call the other puppet modules we just installed. The OPNFV modules require a bunch of global parameters to be set before puppet is invoked. With Foreman we do this by setting global parameters and overriding those parameters per host that are host specific. | ||
+ | |||
+ | If using puppet only you may want to create a [[https://docs.puppetlabs.com/learning/agent_master_basic.html#sitepp | site.pp]] file with your nodes in it and declare your variables there along with calls to the correct OPNFV class. Each node should have the generic genesis class (trystack) along with genesis::node_type (trystack::node_type), where node_type is compute, controller_networker, or tempest. | ||
+ | |||
+ | Then the global variables for OPNFV are as below. For the sake of simplicity all passwords/tokens can have the same value. | ||
* admin_email | * admin_email | ||
Line 108: | Line 126: | ||
* swift_admin_password | * swift_admin_password | ||
* ovs_tunnel_if - Interface that OVS will use to tunnel network data through. This will be overridden per host so you can set to “em1” for now. | * ovs_tunnel_if - Interface that OVS will use to tunnel network data through. This will be overridden per host so you can set to “em1” for now. | ||
+ | * odl_flag - Set to "true" if you want OpenDaylight used. | ||
+ | * odl_rest_port - Optional. Specifies ODL REST API port. Defaults to 8081 to avoid conflicts with Swift. | ||
+ | * odl_control_ip - Optional for controller_networker. Required for network node. ODL's IP. Defaults to private_ip for controller_networker. | ||
---- | ---- | ||
- | |||
- | |||
- |