Merge "configure ODL as BGP server"
[integration/packaging/ansible-opendaylight.git] / vars / main.yml
1 ---
2 # Default variables for the OpenDaylight role. Override as needed.
3
4 # The point of defining default_* and extra_* lists (like default_features
5 # and extra_features), instead of using one common list (like a features
6 # list, with the two aggregated) is to simplify the user experience.
7 # From a playbook using this role, overriding an empty extra_* list and
8 # ignoring the boring default_* counterpart is easier than appending
9 # to a common list or enumerating both the ODL-required defaults and the
10 # extras you actually care about.
11
12 # The set of Karaf features installed by default in ODL's release artifact.
13 # You likely don't need to override these. With only these, you'll be
14 # able to connect to a Karaf shell and poke around ODL, including
15 # potentially manually installing features, but that's about it.
16 # It's better to avoid that manual step by overriding the extra_features
17 # list with the additional ODL features required by your use-case.
18 default_features:
19   - 'config'
20   - 'standard'
21   - 'region'
22   - 'package'
23   - 'kar'
24   - 'ssh'
25   - 'management'
26
27 # Karaf features to install *in addition* to the default_features list.
28 # You will likely need to override this. The features you choose will
29 # be determined by your use-case. You'll be able to get a Karaf
30 # shell and poke around without any extras, but manually connecting to
31 # CLIs is an anti-goal for CI/CD and automated deployments generally.
32 extra_features: []
33
34 # Deploying Opendaylight in a clustering mode is a feature
35 # which is only supported when the current role is consumed
36 # by the OSA project.
37 # https://github.com/openstack/openstack-ansible
38
39 # Enable or disable deploying OpenDaylight as a cluster.
40 cluster: false
41
42 # If OpenDaylight is deployed as a cluster, these features are required.
43 cluster_features:
44   - 'odl-mdsal-clustering'
45   - 'odl-jolokia'
46
47 # Specifies the port for the ODL northbound REST interface to listen on.
48 # This was added because OpenStack's Swift project uses a conflicting port.
49 nb_rest_port: 8080
50
51 # Specifies the port for the ODL clustering which is being used by Akka
52 # remoting for east-west communication.
53 akka_remoting_port: 2550
54
55 # Method to install ODL
56 # Valid options:
57 #   rpm_repo: Install ODL using its Yum repo config
58 #   rpm_path: Install ODL rpm from a local path or remote URL
59 #   dep_repo: Install ODL using a debian repository
60 #   deb_path: Install ODL .deb from a local path or remote URL
61 install_method: "rpm_repo"
62
63 # URL of the .repo config to use when installing ODL from a repo
64 # NB: This will only take effect when `install_method` is "rpm_repo"
65 rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=packages/rpm/example_repo_configs/opendaylight-8-devel.repo"
66 suse_rpm_repo_url: "https://download.opensuse.org/repositories/Virtualization:/NFV/openSUSE_Leap_42.3/"
67
68 # URL of the deb repository to use when installing ODL from a repo
69 # NB: This will only take effect when `install_method` is "deb_repo"
70 deb_repo_url: "ppa:odl-team/nitrogen"
71
72 # This will be passed as the `name` param to the Ansible `yum` module.
73 # `name` param docs: "You can also pass a url or a local path to a rpm file."
74 #   See: http://docs.ansible.com/ansible/yum_module.html
75 # NB: Local paths must be relative the host being configured (think `/vagrant`)
76 # NB: This will only take effect when `install_method` is "rpm_path"
77 # Default to the release RPM hosted on the CentOS Community Build System
78 rpm_path: "http://cbs.centos.org/repos/nfv7-opendaylight-72-release/x86_64/os/Packages/opendaylight-7.2.0-1.el7.noarch.rpm"
79 # Default to the Nitrogen RPM hosted on the openSUSE OBS
80 suse_rpm_path: "https://download.opensuse.org/repositories/Virtualization:/NFV/openSUSE_Leap_42.3/noarch/opendaylight-7.2.0-1.1.noarch.rpm"
81
82 # This will be passed as the `deb` param to the Ansible `apt` module.
83 # `deb` param docs: "Path to a .deb package on the remote machine. If :// in the path,
84 #                    ansible will attempt to download deb before installing."
85 #   See: http://docs.ansible.com/ansible/apt_module.html
86 # This is used when `install_method` is "deb_path"
87 deb_path: ""
88
89 # Distro on which quagga packages to be installed
90 quagga_install_method: "{{ (ansible_os_family=='Debian') | ternary('deb_repo', 'rpm_repo') }}"
91
92 # Quagga deb packages repository location
93 quagga_deb_repo: http://artifacts.opnfv.org/sdnvpn/quagga4/quagga-ubuntu-updated.tar.gz
94
95 # Quagga rpm packages repository location
96 quagga_rpm_repo: http://artifacts.opnfv.org/sdnvpn/quagga4/quagga.tar.gz
97
98 # Find out correct quagga package url based on the
99 # quagga install method
100 quagga_package_url: "{% if quagga_install_method == 'deb_repo' %}{{ quagga_deb_repo }}{% else %}{{ quagga_rpm_repo }}{% endif %}"
101
102 # Temporary location on which quagga packages to be
103 # retrieved for the installation
104 temp_quagga_dir: /tmp/quagga
105
106 # The neutron server node on which OSA configures ODL
107 # as the BGP speaker
108 odl_bgp_speaker_host: "{{ inventory_hostname }}"
109
110 # The neutron server node ip address (br-admin) on which OSA configures ODL
111 # as the BGP speaker
112 odl_bgp_speaker_host_ip_address: "{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}"
113
114 # BGP Config Server Port at quagga side for ODL to establish
115 # thrift connection.
116 bgp_config_server_port: 7644
117
118 # Quagga packages to be installed
119 quagga_dependencies:
120   - thrift
121   - zmq
122   - c-capnproto
123   - quagga
124   - zrpc
125
126 # Configure OpenDaylight with Quagga
127 quagga: false