Skip to content

Commit 7cd86cd

Browse files
committed
Merge pull request xapi-project#1735 from simonjbeaumont/creedence-versioning
Fix up release versions in master branch
2 parents aa5e3fa + cff68eb commit 7cd86cd

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

ocaml/idl/datamodel.ml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ let vgpu_productisation_release_schema_minor_vsn = 69
5757
let clearwater_felton_release_schema_major_vsn = 5
5858
let clearwater_felton_release_schema_minor_vsn = 70
5959

60+
let creedence_release_schema_major_vsn = 5
61+
let creedence_release_schema_minor_vsn = 71
62+
6063
let augusta_release_schema_major_vsn = 5
6164
let augusta_release_schema_minor_vsn = 81
6265

@@ -186,6 +189,12 @@ let augusta_release =
186189
; internal_deprecated_since=None
187190
}
188191

192+
let creedence_release =
193+
{ internal = get_product_releases rel_creedence
194+
; opensource=get_oss_releases None
195+
; internal_deprecated_since=None
196+
}
197+
189198
let clearwater_felton_release =
190199
{ internal=get_product_releases rel_clearwater_felton
191200
; opensource=get_oss_releases None
@@ -4682,7 +4691,7 @@ let pif_pool_introduce_params first_rel =
46824691
{param_type=String; param_name="ipv6_gateway"; param_doc=""; param_release=boston_release; param_default=Some (VString "")};
46834692
{param_type=pif_primary_address_type; param_name="primary_address_type"; param_doc=""; param_release=boston_release; param_default=Some (VEnum "IPv4")};
46844693
{param_type=Bool; param_name="managed"; param_doc=""; param_release=vgpu_productisation_release; param_default=Some (VBool true)};
4685-
{param_type=Map(String, String); param_name="properties"; param_doc=""; param_release=augusta_release; param_default=Some (VMap [])};
4694+
{param_type=Map(String, String); param_name="properties"; param_doc=""; param_release=creedence_release; param_default=Some (VMap [])};
46864695
]
46874696

46884697
(* PIF pool introduce is used to copy PIF records on pool join -- it's the PIF analogue of VDI.pool_introduce *)
@@ -4726,7 +4735,7 @@ let pif_set_property = call
47264735
String, "name", "The property name";
47274736
String, "value", "The property value";
47284737
]
4729-
~lifecycle:[Published, rel_augusta, ""]
4738+
~lifecycle:[Published, rel_creedence, ""]
47304739
~allowed_roles:_R_POOL_OP
47314740
()
47324741

@@ -4775,7 +4784,7 @@ let pif =
47754784
field ~in_oss_since:None ~ty:Bool ~lifecycle:[Published, rel_vgpu_productisation, ""] ~qualifier:StaticRO "managed" "Indicates whether the interface \
47764785
is managed by xapi. If it is not, then xapi will not configure the interface, the commands PIF.plug/unplug/reconfigure_ip(v6) \
47774786
can not be used, nor can the interface be bonded or have VLANs based on top through xapi." ~default_value:(Some (VBool true));
4778-
field ~lifecycle:[Published, rel_augusta, ""] ~qualifier:DynamicRO ~ty:(Map(String, String)) ~default_value:(Some (VMap [])) "properties" "Additional configuration properties for the interface.";
4787+
field ~lifecycle:[Published, rel_creedence, ""] ~qualifier:DynamicRO ~ty:(Map(String, String)) ~default_value:(Some (VMap [])) "properties" "Additional configuration properties for the interface.";
47794788
]
47804789
()
47814790

ocaml/idl/datamodel_types.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ let rel_clearwater = "clearwater"
4848
let rel_vgpu_tech_preview = "vgpu-tech-preview"
4949
let rel_vgpu_productisation = "vgpu-productisation"
5050
let rel_clearwater_felton = "clearwater-felton"
51+
let rel_creedence = "creedence"
5152
let rel_augusta = "augusta"
5253

5354
let release_order =
@@ -65,6 +66,7 @@ let release_order =
6566
; rel_vgpu_tech_preview
6667
; rel_vgpu_productisation
6768
; rel_clearwater_felton
69+
; rel_creedence
6870
; rel_augusta
6971
]
7072

ocaml/xapi/xapi_db_upgrade.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ let cowley = Datamodel.cowley_release_schema_major_vsn, Datamodel.cowley_release
4848
let boston = Datamodel.boston_release_schema_major_vsn, Datamodel.boston_release_schema_minor_vsn
4949
let tampa = Datamodel.tampa_release_schema_major_vsn, Datamodel.tampa_release_schema_minor_vsn
5050
let clearwater = Datamodel.clearwater_release_schema_major_vsn, Datamodel.clearwater_release_schema_minor_vsn
51-
let augusta = Datamodel.augusta_release_schema_major_vsn, Datamodel.augusta_release_schema_minor_vsn
51+
let creedence = Datamodel.creedence_release_schema_major_vsn, Datamodel.creedence_release_schema_minor_vsn
5252

5353
let upgrade_alert_priority = {
5454
description = "Upgrade alert priority";
@@ -406,7 +406,7 @@ let remove_wlb = {
406406

407407
let add_default_pif_properties = {
408408
description = "Adding default PIF properties";
409-
version = (fun x -> x < augusta);
409+
version = (fun x -> x < creedence);
410410
fn = fun ~__context ->
411411
List.iter
412412
(fun self -> Xapi_pif.set_default_properties ~__context ~self)

0 commit comments

Comments
 (0)