Update default vars to Neon, add examples Ne/Fl 06/76706/3
authorDaniel Farrell <dfarrell@redhat.com>
Fri, 5 Oct 2018 16:48:01 +0000 (12:48 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Fri, 12 Oct 2018 00:17:38 +0000 (00:17 +0000)
Jira: INTPAK-211
Change-Id: I161082334fcd95ea1ce498409a6ab7c84bb4e220
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
examples/rpm_10_devel.yml [new file with mode: 0644]
examples/rpm_10_devel_odl_api.yml [new file with mode: 0644]
examples/rpm_9_devel_odl_api.yml [new file with mode: 0644]
examples/rpm_9_release.yml [new file with mode: 0644]
vars/main.yml

diff --git a/examples/rpm_10_devel.yml b/examples/rpm_10_devel.yml
new file mode 100644 (file)
index 0000000..15b3cbf
--- /dev/null
@@ -0,0 +1,7 @@
+---
+- hosts: all
+  become: yes
+  roles:
+    - role: opendaylight
+      # Install the latest ODL Fluorine RPM from ODL Nexus CD repos
+      rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=packages/rpm/example_repo_configs/opendaylight-10-devel.repo"
diff --git a/examples/rpm_10_devel_odl_api.yml b/examples/rpm_10_devel_odl_api.yml
new file mode 100644 (file)
index 0000000..dec8d0f
--- /dev/null
@@ -0,0 +1,8 @@
+---
+- hosts: all
+  become: yes
+  roles:
+    - role: opendaylight
+      # Install the latest ODL Neon RPM from ODL Nexus CD repos
+      rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=packages/rpm/example_repo_configs/opendaylight-10-devel.repo"
+      extra_features: [odl-restconf-all]
diff --git a/examples/rpm_9_devel_odl_api.yml b/examples/rpm_9_devel_odl_api.yml
new file mode 100644 (file)
index 0000000..616abe0
--- /dev/null
@@ -0,0 +1,8 @@
+---
+- hosts: all
+  become: yes
+  roles:
+    - role: opendaylight
+      # Install the latest ODL Fluorine RPM from ODL Nexus CD repos
+      rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=packages/rpm/example_repo_configs/opendaylight-9-devel.repo"
+      extra_features: [odl-restconf-all]
diff --git a/examples/rpm_9_release.yml b/examples/rpm_9_release.yml
new file mode 100644 (file)
index 0000000..088f9fe
--- /dev/null
@@ -0,0 +1,7 @@
+---
+- hosts: all
+  become: yes
+  roles:
+    - role: opendaylight
+      # Install latest service release of ODL Oxygen RPM from the CBS repos
+      rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=packages/rpm/example_repo_configs/opendaylight-9-release.repo"
index b2958255cb6335fb286c60413987a7b5e9953625..5ce8f41c2de4312f8b471f7771a2f71d8eee70de 100755 (executable)
@@ -62,14 +62,15 @@ odl_install_method: "rpm_repo"
 
 # We need this dictionary to translate from ODL version to the version number
 odl_version_dict:
-  master: 9
+  master: 10
+  neon: 10
   fluorine: 9
   oxygen: 8
   nitrogen: 7
 
 # URL of the .repo config to use when installing ODL from a repo
 # NB: This will only take effect when `odl_install_method` is "rpm_repo"
-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 %}"
+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-9-release.repo{% endif %}"
 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 %}"
 
 # URL of the deb repository to use when installing ODL from a repo
@@ -83,7 +84,7 @@ deb_repo_url: "deb http://ppa.launchpad.net/odl-team/fluorine/ubuntu {{ ansible_
 # NB: Local paths must be relative the host being configured (think `/vagrant`)
 # NB: This will only take effect when `odl_install_method` is "rpm_path"
 # Default to the release RPM hosted on the CentOS Community Build System
-rpm_path: "http://cbs.centos.org/repos/nfv7-opendaylight-82-release/x86_64/os/Packages/opendaylight-8.2.0-1.el7.noarch.rpm"
+rpm_path: "http://cbs.centos.org/repos/nfv7-opendaylight-9-release/x86_64/os/Packages/opendaylight-9.0.0-2.el7.noarch.rpm"
 # Default to the Nitrogen RPM hosted on the openSUSE OBS
 suse_rpm_path: "https://download.opensuse.org/repositories/Virtualization:/NFV/openSUSE_Leap_42.3/noarch/opendaylight-7.2.0-1.1.noarch.rpm"