]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Cephadm: Add first_virtual_router_id to generated yaml on test
authorLuis Domingues <domingues.luis@protonmail.ch>
Tue, 20 Jun 2023 10:20:39 +0000 (12:20 +0200)
committerAdam King <adking@redhat.com>
Thu, 31 Aug 2023 17:36:16 +0000 (13:36 -0400)
It seems that the ServiceSpec, when dump to yaml will generate
a yaml with first_virtual_router_id, as its default value is 50.

Signed-off-by: Luis Domingues <domingues.luis@protonmail.ch>
(cherry picked from commit 0901f98a05e5d55b8b3cc17a0cae38094ae88a6f)
(cherry picked from commit 929cf28a1edb47db9e9e18e0212a919072c33c7b)

src/python-common/ceph/tests/test_service_spec.py

index 3f5ed0137b63cf9041f5a171565a9b98059a52ca..502057f5ca3b6c90b86bdd49fe5a3b4375a1f363 100644 (file)
@@ -375,6 +375,7 @@ placement:
   - host3
 spec:
   backend_service: rgw.foo
+  first_virtual_router_id: 50
   frontend_port: 8080
   monitor_port: 8081
   virtual_ip: 192.168.20.1/24