Update symlinks for 2024.4
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/+/77412 pulled in 2024.2
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_23_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_23_1.json",
"$ref": "#/definitions/ComputerSystem",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
```
Change-Id: I7b867d8633e98f5497364d1ba4a0753d11308451
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/redfish-core/schema/dmtf/json-schema-installed/AccountService.v1_16_0.json b/redfish-core/schema/dmtf/json-schema-installed/AccountService.v1_16_0.json
deleted file mode 120000
index 1f5349b..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/AccountService.v1_16_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/AccountService.v1_16_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/AccountService.v1_17_0.json b/redfish-core/schema/dmtf/json-schema-installed/AccountService.v1_17_0.json
new file mode 120000
index 0000000..d17b210
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/AccountService.v1_17_0.json
@@ -0,0 +1 @@
+../json-schema/AccountService.v1_17_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Cable.v1_2_3.json b/redfish-core/schema/dmtf/json-schema-installed/Cable.v1_2_3.json
deleted file mode 120000
index 7f22b35..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Cable.v1_2_3.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Cable.v1_2_3.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Cable.v1_2_4.json b/redfish-core/schema/dmtf/json-schema-installed/Cable.v1_2_4.json
new file mode 120000
index 0000000..127edb7
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Cable.v1_2_4.json
@@ -0,0 +1 @@
+../json-schema/Cable.v1_2_4.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/CertificateService.v1_0_5.json b/redfish-core/schema/dmtf/json-schema-installed/CertificateService.v1_0_5.json
deleted file mode 120000
index 764f300..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/CertificateService.v1_0_5.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/CertificateService.v1_0_5.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
new file mode 120000
index 0000000..82736c0
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/CertificateService.v1_0_6.json
@@ -0,0 +1 @@
+../json-schema/CertificateService.v1_0_6.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Chassis.v1_25_2.json b/redfish-core/schema/dmtf/json-schema-installed/Chassis.v1_25_2.json
deleted file mode 120000
index d2ecd1d..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Chassis.v1_25_2.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Chassis.v1_25_2.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
new file mode 120000
index 0000000..fad013f
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Chassis.v1_26_0.json
@@ -0,0 +1 @@
+../json-schema/Chassis.v1_26_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_23_0.json b/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_23_0.json
deleted file mode 120000
index d04a109..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_23_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/ComputerSystem.v1_23_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_23_1.json b/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_23_1.json
new file mode 120000
index 0000000..e96a0f6
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_23_1.json
@@ -0,0 +1 @@
+../json-schema/ComputerSystem.v1_23_1.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Drive.v1_20_1.json b/redfish-core/schema/dmtf/json-schema-installed/Drive.v1_20_1.json
deleted file mode 120000
index 50e58c2..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Drive.v1_20_1.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Drive.v1_20_1.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Drive.v1_21_0.json b/redfish-core/schema/dmtf/json-schema-installed/Drive.v1_21_0.json
new file mode 120000
index 0000000..57b70f7
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Drive.v1_21_0.json
@@ -0,0 +1 @@
+../json-schema/Drive.v1_21_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/EthernetInterface.v1_12_2.json b/redfish-core/schema/dmtf/json-schema-installed/EthernetInterface.v1_12_2.json
deleted file mode 120000
index e872ece..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/EthernetInterface.v1_12_2.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/EthernetInterface.v1_12_2.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/EthernetInterface.v1_12_3.json b/redfish-core/schema/dmtf/json-schema-installed/EthernetInterface.v1_12_3.json
new file mode 120000
index 0000000..3255722
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/EthernetInterface.v1_12_3.json
@@ -0,0 +1 @@
+../json-schema/EthernetInterface.v1_12_3.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/EventDestination.v1_15_0.json b/redfish-core/schema/dmtf/json-schema-installed/EventDestination.v1_15_0.json
deleted file mode 120000
index 72bb075..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/EventDestination.v1_15_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/EventDestination.v1_15_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/EventDestination.v1_15_1.json b/redfish-core/schema/dmtf/json-schema-installed/EventDestination.v1_15_1.json
new file mode 120000
index 0000000..ba598ce
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/EventDestination.v1_15_1.json
@@ -0,0 +1 @@
+../json-schema/EventDestination.v1_15_1.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/EventService.v1_10_2.json b/redfish-core/schema/dmtf/json-schema-installed/EventService.v1_10_2.json
deleted file mode 120000
index 9d0f231..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/EventService.v1_10_2.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/EventService.v1_10_2.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/EventService.v1_10_3.json b/redfish-core/schema/dmtf/json-schema-installed/EventService.v1_10_3.json
new file mode 120000
index 0000000..9f14ad6
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/EventService.v1_10_3.json
@@ -0,0 +1 @@
+../json-schema/EventService.v1_10_3.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_19_2.json b/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_19_2.json
deleted file mode 120000
index 1a7077d..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_19_2.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Manager.v1_19_2.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_20_0.json b/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_20_0.json
new file mode 120000
index 0000000..be66542
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_20_0.json
@@ -0,0 +1 @@
+../json-schema/Manager.v1_20_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_16_0.json b/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_16_0.json
deleted file mode 120000
index 1d18d93..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_16_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/PCIeDevice.v1_16_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_17_0.json b/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_17_0.json
new file mode 120000
index 0000000..0d0ffc3
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_17_0.json
@@ -0,0 +1 @@
+../json-schema/PCIeDevice.v1_17_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Port.v1_14_0.json b/redfish-core/schema/dmtf/json-schema-installed/Port.v1_14_0.json
deleted file mode 120000
index 23cee15..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Port.v1_14_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Port.v1_14_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Port.v1_15_0.json b/redfish-core/schema/dmtf/json-schema-installed/Port.v1_15_0.json
new file mode 120000
index 0000000..0df6afd
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Port.v1_15_0.json
@@ -0,0 +1 @@
+../json-schema/Port.v1_15_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/PowerSubsystem.v1_1_2.json b/redfish-core/schema/dmtf/json-schema-installed/PowerSubsystem.v1_1_2.json
deleted file mode 120000
index 192e77f..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/PowerSubsystem.v1_1_2.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/PowerSubsystem.v1_1_2.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/PowerSubsystem.v1_1_3.json b/redfish-core/schema/dmtf/json-schema-installed/PowerSubsystem.v1_1_3.json
new file mode 120000
index 0000000..da5400e
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/PowerSubsystem.v1_1_3.json
@@ -0,0 +1 @@
+../json-schema/PowerSubsystem.v1_1_3.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Redundancy.v1_4_2.json b/redfish-core/schema/dmtf/json-schema-installed/Redundancy.v1_4_2.json
deleted file mode 120000
index 8021dba..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Redundancy.v1_4_2.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Redundancy.v1_4_2.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Redundancy.v1_5_0.json b/redfish-core/schema/dmtf/json-schema-installed/Redundancy.v1_5_0.json
new file mode 120000
index 0000000..012e96a
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Redundancy.v1_5_0.json
@@ -0,0 +1 @@
+../json-schema/Redundancy.v1_5_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Resource.v1_20_0.json b/redfish-core/schema/dmtf/json-schema-installed/Resource.v1_20_0.json
deleted file mode 120000
index f0217ef..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Resource.v1_20_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Resource.v1_20_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
new file mode 120000
index 0000000..7fedc5b
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Resource.v1_21_0.json
@@ -0,0 +1 @@
+../json-schema/Resource.v1_21_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Role.v1_3_2.json b/redfish-core/schema/dmtf/json-schema-installed/Role.v1_3_2.json
deleted file mode 120000
index 7087dc4..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Role.v1_3_2.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Role.v1_3_2.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Role.v1_3_3.json b/redfish-core/schema/dmtf/json-schema-installed/Role.v1_3_3.json
new file mode 120000
index 0000000..4a2fe73
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Role.v1_3_3.json
@@ -0,0 +1 @@
+../json-schema/Role.v1_3_3.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Session.v1_7_2.json b/redfish-core/schema/dmtf/json-schema-installed/Session.v1_7_2.json
deleted file mode 120000
index 9db71ce..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Session.v1_7_2.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Session.v1_7_2.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Session.v1_8_0.json b/redfish-core/schema/dmtf/json-schema-installed/Session.v1_8_0.json
new file mode 120000
index 0000000..31b0203
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Session.v1_8_0.json
@@ -0,0 +1 @@
+../json-schema/Session.v1_8_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/SessionService.v1_1_9.json b/redfish-core/schema/dmtf/json-schema-installed/SessionService.v1_1_9.json
deleted file mode 120000
index b7ecdb1..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/SessionService.v1_1_9.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/SessionService.v1_1_9.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/SessionService.v1_2_0.json b/redfish-core/schema/dmtf/json-schema-installed/SessionService.v1_2_0.json
new file mode 120000
index 0000000..f630e0d
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/SessionService.v1_2_0.json
@@ -0,0 +1 @@
+../json-schema/SessionService.v1_2_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_17_1.json b/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_17_1.json
deleted file mode 120000
index 2aa6ef7..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_17_1.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Storage.v1_17_1.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
new file mode 120000
index 0000000..232d0d9
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Storage.v1_18_0.json
@@ -0,0 +1 @@
+../json-schema/Storage.v1_18_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_8_0.json b/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_8_0.json
deleted file mode 120000
index 91d59fc..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_8_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/StorageController.v1_8_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_9_0.json b/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_9_0.json
new file mode 120000
index 0000000..28052fa
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_9_0.json
@@ -0,0 +1 @@
+../json-schema/StorageController.v1_9_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ThermalSubsystem.v1_3_2.json b/redfish-core/schema/dmtf/json-schema-installed/ThermalSubsystem.v1_3_2.json
deleted file mode 120000
index 5f73963..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/ThermalSubsystem.v1_3_2.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/ThermalSubsystem.v1_3_2.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
new file mode 120000
index 0000000..577410c
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/ThermalSubsystem.v1_3_3.json
@@ -0,0 +1 @@
+../json-schema/ThermalSubsystem.v1_3_3.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/UpdateService.v1_14_1.json b/redfish-core/schema/dmtf/json-schema-installed/UpdateService.v1_14_1.json
deleted file mode 120000
index ac104c4..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/UpdateService.v1_14_1.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/UpdateService.v1_14_1.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
new file mode 120000
index 0000000..0dabef9
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/UpdateService.v1_15_0.json
@@ -0,0 +1 @@
+../json-schema/UpdateService.v1_15_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/redfish-schema.v1_10_0.json b/redfish-core/schema/dmtf/json-schema-installed/redfish-schema.v1_10_0.json
deleted file mode 120000
index 56d4f75..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/redfish-schema.v1_10_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/redfish-schema.v1_10_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/redfish-schema.v1_10_1.json b/redfish-core/schema/dmtf/json-schema-installed/redfish-schema.v1_10_1.json
new file mode 120000
index 0000000..91c7e7a
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/redfish-schema.v1_10_1.json
@@ -0,0 +1 @@
+../json-schema/redfish-schema.v1_10_1.json
\ No newline at end of file