Update symlinks for 2025.2
Wrote a quick bash script to update these symlinks.
These are versioned out in json schema directory[1].
The symlinks don't work without this update.
[1]: https://github.com/openbmc/bmcweb/tree/master/redfish-core/schema/dmtf/json-schema
https://gerrit.openbmc.org/c/openbmc/bmcweb/+/74676 did this for 2024.3
Tested: Cat a few of these links. They appear to work.
Before:
```
head -n 4 redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_*.json
head: cannot open 'redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_24_0.json' for reading: No such file or directory
```
After:
```
head -n 4 redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_*.json
{
"$id": "http://redfish.dmtf.org/schemas/v1/ComputerSystem.v1_25_0.json",
"$ref": "#/definitions/ComputerSystem",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
```
Change-Id: I5c5a33c441a8def766658acaddbdfab019c960c4
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/redfish-core/schema/dmtf/json-schema-installed/AggregationSource.v1_4_3.json b/redfish-core/schema/dmtf/json-schema-installed/AggregationSource.v1_4_3.json
deleted file mode 120000
index ac15392..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/AggregationSource.v1_4_3.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/AggregationSource.v1_4_3.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/AggregationSource.v1_5_0.json b/redfish-core/schema/dmtf/json-schema-installed/AggregationSource.v1_5_0.json
new file mode 120000
index 0000000..42c263b
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/AggregationSource.v1_5_0.json
@@ -0,0 +1 @@
+../json-schema/AggregationSource.v1_5_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Certificate.v1_10_0.json b/redfish-core/schema/dmtf/json-schema-installed/Certificate.v1_10_0.json
new file mode 120000
index 0000000..313a0c3
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Certificate.v1_10_0.json
@@ -0,0 +1 @@
+../json-schema/Certificate.v1_10_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Certificate.v1_9_0.json b/redfish-core/schema/dmtf/json-schema-installed/Certificate.v1_9_0.json
deleted file mode 120000
index d5f7a31..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Certificate.v1_9_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Certificate.v1_9_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/CertificateService.v1_0_6.json b/redfish-core/schema/dmtf/json-schema-installed/CertificateService.v1_0_6.json
deleted file mode 120000
index 82736c0..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/CertificateService.v1_0_6.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/CertificateService.v1_0_6.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/CertificateService.v1_1_0.json b/redfish-core/schema/dmtf/json-schema-installed/CertificateService.v1_1_0.json
new file mode 120000
index 0000000..bd11e33
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/CertificateService.v1_1_0.json
@@ -0,0 +1 @@
+../json-schema/CertificateService.v1_1_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Chassis.v1_26_0.json b/redfish-core/schema/dmtf/json-schema-installed/Chassis.v1_26_0.json
deleted file mode 120000
index fad013f..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Chassis.v1_26_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Chassis.v1_26_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Chassis.v1_27_0.json b/redfish-core/schema/dmtf/json-schema-installed/Chassis.v1_27_0.json
new file mode 120000
index 0000000..74091b0
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Chassis.v1_27_0.json
@@ -0,0 +1 @@
+../json-schema/Chassis.v1_27_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_24_0.json b/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_24_0.json
deleted file mode 120000
index 6956a67..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_24_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/ComputerSystem.v1_24_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_25_0.json b/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_25_0.json
new file mode 120000
index 0000000..c9e07b9
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_25_0.json
@@ -0,0 +1 @@
+../json-schema/ComputerSystem.v1_25_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/EnvironmentMetrics.v1_4_0.json b/redfish-core/schema/dmtf/json-schema-installed/EnvironmentMetrics.v1_4_0.json
deleted file mode 120000
index 75b8865..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/EnvironmentMetrics.v1_4_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/EnvironmentMetrics.v1_4_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/EnvironmentMetrics.v1_5_0.json b/redfish-core/schema/dmtf/json-schema-installed/EnvironmentMetrics.v1_5_0.json
new file mode 120000
index 0000000..531b1b5
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/EnvironmentMetrics.v1_5_0.json
@@ -0,0 +1 @@
+../json-schema/EnvironmentMetrics.v1_5_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_18_0.json b/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_18_0.json
deleted file mode 120000
index 5b65374..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_18_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/LogEntry.v1_18_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_19_0.json b/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_19_0.json
new file mode 120000
index 0000000..19cd17d
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_19_0.json
@@ -0,0 +1 @@
+../json-schema/LogEntry.v1_19_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_21_0.json b/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_21_0.json
deleted file mode 120000
index 93a1a2d..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_21_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Manager.v1_21_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_22_0.json b/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_22_0.json
new file mode 120000
index 0000000..0f1c040
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_22_0.json
@@ -0,0 +1 @@
+../json-schema/Manager.v1_22_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ManagerAccount.v1_13_0.json b/redfish-core/schema/dmtf/json-schema-installed/ManagerAccount.v1_13_0.json
deleted file mode 120000
index 941aeb7..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/ManagerAccount.v1_13_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/ManagerAccount.v1_13_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ManagerAccount.v1_14_0.json b/redfish-core/schema/dmtf/json-schema-installed/ManagerAccount.v1_14_0.json
new file mode 120000
index 0000000..e0ee7f7
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/ManagerAccount.v1_14_0.json
@@ -0,0 +1 @@
+../json-schema/ManagerAccount.v1_14_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ManagerNetworkProtocol.v1_11_0.json b/redfish-core/schema/dmtf/json-schema-installed/ManagerNetworkProtocol.v1_11_0.json
deleted file mode 120000
index c6b01b8..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/ManagerNetworkProtocol.v1_11_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/ManagerNetworkProtocol.v1_11_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ManagerNetworkProtocol.v1_12_0.json b/redfish-core/schema/dmtf/json-schema-installed/ManagerNetworkProtocol.v1_12_0.json
new file mode 120000
index 0000000..0250d99
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/ManagerNetworkProtocol.v1_12_0.json
@@ -0,0 +1 @@
+../json-schema/ManagerNetworkProtocol.v1_12_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Memory.v1_20_0.json b/redfish-core/schema/dmtf/json-schema-installed/Memory.v1_20_0.json
deleted file mode 120000
index 7664900..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Memory.v1_20_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Memory.v1_20_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Memory.v1_21_0.json b/redfish-core/schema/dmtf/json-schema-installed/Memory.v1_21_0.json
new file mode 120000
index 0000000..2f3d7fd
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Memory.v1_21_0.json
@@ -0,0 +1 @@
+../json-schema/Memory.v1_21_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/MetricDefinition.v1_3_4.json b/redfish-core/schema/dmtf/json-schema-installed/MetricDefinition.v1_3_4.json
deleted file mode 120000
index cd4567c..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/MetricDefinition.v1_3_4.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/MetricDefinition.v1_3_4.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/MetricDefinition.v1_3_5.json b/redfish-core/schema/dmtf/json-schema-installed/MetricDefinition.v1_3_5.json
new file mode 120000
index 0000000..2a7fecf
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/MetricDefinition.v1_3_5.json
@@ -0,0 +1 @@
+../json-schema/MetricDefinition.v1_3_5.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/MetricReportDefinition.v1_4_6.json b/redfish-core/schema/dmtf/json-schema-installed/MetricReportDefinition.v1_4_6.json
deleted file mode 120000
index f95c542..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/MetricReportDefinition.v1_4_6.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/MetricReportDefinition.v1_4_6.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/MetricReportDefinition.v1_4_7.json b/redfish-core/schema/dmtf/json-schema-installed/MetricReportDefinition.v1_4_7.json
new file mode 120000
index 0000000..bcf4ba1
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/MetricReportDefinition.v1_4_7.json
@@ -0,0 +1 @@
+../json-schema/MetricReportDefinition.v1_4_7.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_18_0.json b/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_18_0.json
deleted file mode 120000
index 8424fde..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_18_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/PCIeDevice.v1_18_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_19_0.json b/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_19_0.json
new file mode 120000
index 0000000..cd63e54
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_19_0.json
@@ -0,0 +1 @@
+../json-schema/PCIeDevice.v1_19_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Resource.v1_21_0.json b/redfish-core/schema/dmtf/json-schema-installed/Resource.v1_21_0.json
deleted file mode 120000
index 7fedc5b..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Resource.v1_21_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Resource.v1_21_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Resource.v1_22_0.json b/redfish-core/schema/dmtf/json-schema-installed/Resource.v1_22_0.json
new file mode 120000
index 0000000..842ee70
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Resource.v1_22_0.json
@@ -0,0 +1 @@
+../json-schema/Resource.v1_22_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Sensor.v1_10_1.json b/redfish-core/schema/dmtf/json-schema-installed/Sensor.v1_10_1.json
deleted file mode 120000
index e8c9891..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Sensor.v1_10_1.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Sensor.v1_10_1.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Sensor.v1_11_0.json b/redfish-core/schema/dmtf/json-schema-installed/Sensor.v1_11_0.json
new file mode 120000
index 0000000..d25f76c
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Sensor.v1_11_0.json
@@ -0,0 +1 @@
+../json-schema/Sensor.v1_11_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ServiceRoot.v1_18_0.json b/redfish-core/schema/dmtf/json-schema-installed/ServiceRoot.v1_18_0.json
deleted file mode 120000
index eeb4689..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/ServiceRoot.v1_18_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/ServiceRoot.v1_18_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ServiceRoot.v1_19_0.json b/redfish-core/schema/dmtf/json-schema-installed/ServiceRoot.v1_19_0.json
new file mode 120000
index 0000000..59d84a8
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/ServiceRoot.v1_19_0.json
@@ -0,0 +1 @@
+../json-schema/ServiceRoot.v1_19_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/SoftwareInventory.v1_11_0.json b/redfish-core/schema/dmtf/json-schema-installed/SoftwareInventory.v1_11_0.json
deleted file mode 120000
index 3eadb93..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/SoftwareInventory.v1_11_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/SoftwareInventory.v1_11_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/SoftwareInventory.v1_12_0.json b/redfish-core/schema/dmtf/json-schema-installed/SoftwareInventory.v1_12_0.json
new file mode 120000
index 0000000..b7cdb32
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/SoftwareInventory.v1_12_0.json
@@ -0,0 +1 @@
+../json-schema/SoftwareInventory.v1_12_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_18_0.json b/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_18_0.json
deleted file mode 120000
index 232d0d9..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_18_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Storage.v1_18_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_19_0.json b/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_19_0.json
new file mode 120000
index 0000000..443ade8
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_19_0.json
@@ -0,0 +1 @@
+../json-schema/Storage.v1_19_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/TelemetryService.v1_3_4.json b/redfish-core/schema/dmtf/json-schema-installed/TelemetryService.v1_3_4.json
deleted file mode 120000
index 529a2d4..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/TelemetryService.v1_3_4.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/TelemetryService.v1_3_4.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/TelemetryService.v1_4_0.json b/redfish-core/schema/dmtf/json-schema-installed/TelemetryService.v1_4_0.json
new file mode 120000
index 0000000..2c20b99
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/TelemetryService.v1_4_0.json
@@ -0,0 +1 @@
+../json-schema/TelemetryService.v1_4_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ThermalSubsystem.v1_3_3.json b/redfish-core/schema/dmtf/json-schema-installed/ThermalSubsystem.v1_3_3.json
deleted file mode 120000
index 577410c..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/ThermalSubsystem.v1_3_3.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/ThermalSubsystem.v1_3_3.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ThermalSubsystem.v1_4_0.json b/redfish-core/schema/dmtf/json-schema-installed/ThermalSubsystem.v1_4_0.json
new file mode 120000
index 0000000..393dbae
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/ThermalSubsystem.v1_4_0.json
@@ -0,0 +1 @@
+../json-schema/ThermalSubsystem.v1_4_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/UpdateService.v1_15_0.json b/redfish-core/schema/dmtf/json-schema-installed/UpdateService.v1_15_0.json
deleted file mode 120000
index 0dabef9..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/UpdateService.v1_15_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/UpdateService.v1_15_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/UpdateService.v1_16_0.json b/redfish-core/schema/dmtf/json-schema-installed/UpdateService.v1_16_0.json
new file mode 120000
index 0000000..6251321
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/UpdateService.v1_16_0.json
@@ -0,0 +1 @@
+../json-schema/UpdateService.v1_16_0.json
\ No newline at end of file