Neon SR2 rpm links
[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: 8181
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 # We need this dictionary to translate from ODL version to the version number
64 odl_version_dict:
65   master: 9
66   fluorine: 9
67   oxygen: 8
68   nitrogen: 7
69
70 # URL of the .repo config to use when installing ODL from a repo
71 # NB: This will only take effect when `install_method` is "rpm_repo"
72 rpm_repo_url: "{% if 'latest_release' not in odl_version %}https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=packages/rpm/example_repo_configs/opendaylight-{{ odl_version_dict[odl_version] }}-devel.repo{% else %}https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=packages/rpm/example_repo_configs/opendaylight-8-release.repo{% endif %}"
73 suse_rpm_repo_url: "{% if 'latest_release' not in odl_version %}https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=packages/rpm/example_repo_configs/opendaylight-{{ odl_version_dict[odl_version] }}-opensuse-devel.repo{% else %}https://download.opensuse.org/repositories/Virtualization:/NFV/openSUSE_Leap_42.3/{% endif %}"
74
75 # URL of the deb repository to use when installing ODL from a repo
76 # NB: This will only take effect when `install_method` is "deb_repo"
77 # TODO: When deb snaps are built, point to a repo like rpm
78 deb_repo_url: "deb http://ppa.launchpad.net/odl-team/oxygen/ubuntu {{ ansible_lsb.codename }} main"
79
80 # This will be passed as the `name` param to the Ansible `yum` module.
81 # `name` param docs: "You can also pass a url or a local path to a rpm file."
82 #   See: http://docs.ansible.com/ansible/yum_module.html
83 # NB: Local paths must be relative the host being configured (think `/vagrant`)
84 # NB: This will only take effect when `install_method` is "rpm_path"
85 # Default to the release RPM hosted on the CentOS Community Build System
86 rpm_path: "http://cbs.centos.org/repos/nfv7-opendaylight-82-release/x86_64/os/Packages/opendaylight-8.2.0-1.el7.noarch.rpm"
87 # Default to the Nitrogen RPM hosted on the openSUSE OBS
88 suse_rpm_path: "https://download.opensuse.org/repositories/Virtualization:/NFV/openSUSE_Leap_42.3/noarch/opendaylight-7.2.0-1.1.noarch.rpm"
89
90 # This will be passed as the `deb` param to the Ansible `apt` module.
91 # `deb` param docs: "Path to a .deb package on the remote machine. If :// in the path,
92 #                    ansible will attempt to download deb before installing."
93 #   See: http://docs.ansible.com/ansible/apt_module.html
94 # This is used when `install_method` is "deb_path"
95 deb_path: ""
96
97 # Distro on which quagga packages to be installed
98 quagga_install_method: "{{ (ansible_os_family=='Debian') | ternary('deb_repo', 'rpm_repo') }}"
99
100 # Quagga deb packages repository location
101 quagga_deb_repo: http://artifacts.opnfv.org/sdnvpn/quagga4/quagga-ubuntu-updated.tar.gz
102
103 # Quagga rpm packages repository location
104 quagga_rpm_repo: http://artifacts.opnfv.org/sdnvpn/quagga4/quagga.tar.gz
105
106 # Find out correct quagga package url based on the
107 # quagga install method
108 quagga_package_url: "{% if quagga_install_method == 'deb_repo' %}{{ quagga_deb_repo }}{% else %}{{ quagga_rpm_repo }}{% endif %}"
109
110 # Temporary location on which quagga packages to be
111 # retrieved for the installation
112 temp_quagga_dir: /tmp/quagga
113
114 # The neutron server node on which OSA configures ODL
115 # as the BGP speaker
116 odl_bgp_speaker_host: "{{ inventory_hostname }}"
117
118 # The neutron server node ip address (br-admin) on which OSA configures ODL
119 # as the BGP speaker
120 odl_bgp_speaker_host_ip_address: "{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}"
121
122 # BGP Config Server Port at quagga side for ODL to establish
123 # thrift connection.
124 bgp_config_server_port: 7644
125
126 # Quagga packages to be installed
127 quagga_dependencies:
128   - thrift
129   - zmq
130   - c-capnproto
131   - quagga
132   - zrpc
133
134 # Configure OpenDaylight with Quagga
135 quagga: false