Update symlinks for 2025.1
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_23_1.json' for reading: No such file or directory
```
After:
```
head -n 3 redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_*.json
{
"$id": "http://redfish.dmtf.org/schemas/v1/ComputerSystem.v1_24_0.json",
"$ref": "#/definitions/ComputerSystem",
```
Change-Id: Ief753a8c08699b0b1d934ee74c24890c3355d247
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
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
deleted file mode 120000
index d17b210..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/AccountService.v1_17_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/AccountService.v1_17_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/AccountService.v1_18_0.json b/redfish-core/schema/dmtf/json-schema-installed/AccountService.v1_18_0.json
new file mode 120000
index 0000000..edb840d
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/AccountService.v1_18_0.json
@@ -0,0 +1 @@
+../json-schema/AccountService.v1_18_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ComponentIntegrity.v1_3_0.json b/redfish-core/schema/dmtf/json-schema-installed/ComponentIntegrity.v1_3_0.json
deleted file mode 120000
index 2fc75c5..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/ComponentIntegrity.v1_3_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/ComponentIntegrity.v1_3_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ComponentIntegrity.v1_3_1.json b/redfish-core/schema/dmtf/json-schema-installed/ComponentIntegrity.v1_3_1.json
new file mode 120000
index 0000000..2b5aa6e
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/ComponentIntegrity.v1_3_1.json
@@ -0,0 +1 @@
+../json-schema/ComponentIntegrity.v1_3_1.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
deleted file mode 120000
index e96a0f6..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_23_1.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/ComputerSystem.v1_23_1.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
new file mode 120000
index 0000000..6956a67
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/ComputerSystem.v1_24_0.json
@@ -0,0 +1 @@
+../json-schema/ComputerSystem.v1_24_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/EnvironmentMetrics.v1_3_2.json b/redfish-core/schema/dmtf/json-schema-installed/EnvironmentMetrics.v1_3_2.json
deleted file mode 120000
index 91a315b..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/EnvironmentMetrics.v1_3_2.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/EnvironmentMetrics.v1_3_2.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
new file mode 120000
index 0000000..75b8865
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/EnvironmentMetrics.v1_4_0.json
@@ -0,0 +1 @@
+../json-schema/EnvironmentMetrics.v1_4_0.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
deleted file mode 120000
index 3255722..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/EthernetInterface.v1_12_3.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/EthernetInterface.v1_12_3.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/EthernetInterface.v1_12_4.json b/redfish-core/schema/dmtf/json-schema-installed/EthernetInterface.v1_12_4.json
new file mode 120000
index 0000000..f2b3c0c
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/EthernetInterface.v1_12_4.json
@@ -0,0 +1 @@
+../json-schema/EthernetInterface.v1_12_4.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Event.v1_11_0.json b/redfish-core/schema/dmtf/json-schema-installed/Event.v1_11_0.json
deleted file mode 120000
index 8ee1a12..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Event.v1_11_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Event.v1_11_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Event.v1_11_1.json b/redfish-core/schema/dmtf/json-schema-installed/Event.v1_11_1.json
new file mode 120000
index 0000000..ff3ac5c
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Event.v1_11_1.json
@@ -0,0 +1 @@
+../json-schema/Event.v1_11_1.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
deleted file mode 120000
index 9f14ad6..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/EventService.v1_10_3.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/EventService.v1_10_3.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/EventService.v1_11_0.json b/redfish-core/schema/dmtf/json-schema-installed/EventService.v1_11_0.json
new file mode 120000
index 0000000..b547371
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/EventService.v1_11_0.json
@@ -0,0 +1 @@
+../json-schema/EventService.v1_11_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_17_0.json b/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_17_0.json
deleted file mode 120000
index a6a36cf..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_17_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/LogEntry.v1_17_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
new file mode 120000
index 0000000..5b65374
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/LogEntry.v1_18_0.json
@@ -0,0 +1 @@
+../json-schema/LogEntry.v1_18_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/LogService.v1_7_0.json b/redfish-core/schema/dmtf/json-schema-installed/LogService.v1_7_0.json
deleted file mode 120000
index a4cdd0d..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/LogService.v1_7_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/LogService.v1_7_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/LogService.v1_8_0.json b/redfish-core/schema/dmtf/json-schema-installed/LogService.v1_8_0.json
new file mode 120000
index 0000000..138304a
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/LogService.v1_8_0.json
@@ -0,0 +1 @@
+../json-schema/LogService.v1_8_0.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
deleted file mode 120000
index be66542..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_20_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Manager.v1_20_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
new file mode 120000
index 0000000..93a1a2d
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Manager.v1_21_0.json
@@ -0,0 +1 @@
+../json-schema/Manager.v1_21_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ManagerNetworkProtocol.v1_10_1.json b/redfish-core/schema/dmtf/json-schema-installed/ManagerNetworkProtocol.v1_10_1.json
deleted file mode 120000
index d50f418..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/ManagerNetworkProtocol.v1_10_1.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/ManagerNetworkProtocol.v1_10_1.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
new file mode 120000
index 0000000..c6b01b8
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/ManagerNetworkProtocol.v1_11_0.json
@@ -0,0 +1 @@
+../json-schema/ManagerNetworkProtocol.v1_11_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
deleted file mode 120000
index 0d0ffc3..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_17_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/PCIeDevice.v1_17_0.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
new file mode 120000
index 0000000..8424fde
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/PCIeDevice.v1_18_0.json
@@ -0,0 +1 @@
+../json-schema/PCIeDevice.v1_18_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
deleted file mode 120000
index 0df6afd..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/Port.v1_15_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/Port.v1_15_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/Port.v1_16_0.json b/redfish-core/schema/dmtf/json-schema-installed/Port.v1_16_0.json
new file mode 120000
index 0000000..efe8f7a
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/Port.v1_16_0.json
@@ -0,0 +1 @@
+../json-schema/Port.v1_16_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/ServiceRoot.v1_17_0.json b/redfish-core/schema/dmtf/json-schema-installed/ServiceRoot.v1_17_0.json
deleted file mode 120000
index 70647b8..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/ServiceRoot.v1_17_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/ServiceRoot.v1_17_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
new file mode 120000
index 0000000..eeb4689
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/ServiceRoot.v1_18_0.json
@@ -0,0 +1 @@
+../json-schema/ServiceRoot.v1_18_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/SoftwareInventory.v1_10_2.json b/redfish-core/schema/dmtf/json-schema-installed/SoftwareInventory.v1_10_2.json
deleted file mode 120000
index 63482ec..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/SoftwareInventory.v1_10_2.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/SoftwareInventory.v1_10_2.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
new file mode 120000
index 0000000..3eadb93
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/SoftwareInventory.v1_11_0.json
@@ -0,0 +1 @@
+../json-schema/SoftwareInventory.v1_11_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
deleted file mode 120000
index 28052fa..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_9_0.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/StorageController.v1_9_0.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_9_1.json b/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_9_1.json
new file mode 120000
index 0000000..7c858bd
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/StorageController.v1_9_1.json
@@ -0,0 +1 @@
+../json-schema/StorageController.v1_9_1.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/VirtualMedia.v1_6_4.json b/redfish-core/schema/dmtf/json-schema-installed/VirtualMedia.v1_6_4.json
deleted file mode 120000
index 8b7032e..0000000
--- a/redfish-core/schema/dmtf/json-schema-installed/VirtualMedia.v1_6_4.json
+++ /dev/null
@@ -1 +0,0 @@
-../json-schema/VirtualMedia.v1_6_4.json
\ No newline at end of file
diff --git a/redfish-core/schema/dmtf/json-schema-installed/VirtualMedia.v1_6_5.json b/redfish-core/schema/dmtf/json-schema-installed/VirtualMedia.v1_6_5.json
new file mode 120000
index 0000000..a7c74c5
--- /dev/null
+++ b/redfish-core/schema/dmtf/json-schema-installed/VirtualMedia.v1_6_5.json
@@ -0,0 +1 @@
+../json-schema/VirtualMedia.v1_6_5.json
\ No newline at end of file