|
Post by Venkatesh Periyasamy on Dec 8, 2017 8:29:34 GMT
Thanks gericson for the clarification.
I have verified in Swordfish 1.0.5 Work In Progress schema. Looks like the given schema is not yet published to public. Will it be part of next version?
|
|
|
Post by Venkatesh Periyasamy on Nov 24, 2017 13:17:32 GMT
Do we need to mention version of swordfish specification somewhere(i.e 1.0.3) ? If not , Is it OK to add in ServiceRoot itself with "SwordfishVersion" ? I have not seen any resource which talks about the swordfish version.
|
|
|
Post by Venkatesh Periyasamy on Nov 23, 2017 12:30:15 GMT
My suggestion is to respond with complete failure with the error message that what and all is not supported and remove those entries and retry the request/operation.
|
|
|
Post by Venkatesh Periyasamy on Nov 13, 2017 7:24:37 GMT
We are just trying to implement clone/snaphot( as per sowrdfish specification) out of the existing volume for compute virtualization(VDI) use cases. In VDI environment, User will be doing clone and snapshot of existing virtual machine disks(golden image) and cloned/snapshot disks will be used for further virtual machines. To provide support for this scenario, We explored the specification and based on that we arrived at the following process. Can you confirm this process?
To create a snapshot/clone of a volume, POST request for new volume will be raised with the 1. Name, Capacity Information 2. ReplicaInfo which will have the -- ReplicaType (Snapshot/clone) -- ReplicaRole (Role of the replica info. Here it will be source) -- Source (Link to the source volume) -- other replica related information
I Assume, using ReplicaInfo in this context is right.
Is my understanding and usage of ReplicaInfo is correct? Just want to confirm, before implementing ?
|
|
|
Post by Venkatesh Periyasamy on Oct 10, 2017 8:55:40 GMT
Thanks gericson ... I will join ..
|
|
|
Post by Venkatesh Periyasamy on Oct 10, 2017 8:46:19 GMT
Thanks a lot .. Still I am not able to find out the schema or action to use snapshot.. Meaning let's say I have defined class of service with snapshot schedule and created volume with that class of service... So Storage solution will take snapshot, but how this snapshot will be exposed .. Is there any resource represents the snapshot volume ? And also is there schema action to mount the snapshot LUN to a target ??
|
|
|
Post by Venkatesh Periyasamy on Jul 20, 2017 9:26:44 GMT
I have checked the storage service specification ( Swordfish 1.0.3 ) specification. Looks like it is missing the logs/events which are specific to storage service. The event could be volume state change like online to degrade/failed due to some internal hardware problem, storage pool creation, volume creation etc. Is it defined anywhere to represent log service which is related to storage service resource specific? If not, Can we add it ?
|
|
|
Post by Venkatesh Periyasamy on Jun 14, 2017 13:51:25 GMT
I have checked the EndPoint Group and Storage group XML specification. As per schema XML, Insertion or Deletion is not supported for End Point groups. From my understanding, Storage group and end point group should be insertable and Deleteable? Am i missing anything ?
|
|
|
Post by Venkatesh Periyasamy on May 22, 2017 7:18:22 GMT
Thanks Richelle...
|
|
|
Post by Venkatesh Periyasamy on May 19, 2017 9:53:40 GMT
Thank You..
So , For GET requests, volumes property to points to collection and for POST(i.e Create) request,It will point to the instances.
|
|
|
Post by Venkatesh Periyasamy on May 19, 2017 9:45:54 GMT
Thanks a lot... Now the terms are clear.
|
|
|
Post by Venkatesh Periyasamy on May 12, 2017 6:56:37 GMT
Thanks a lot. Now i got clear picture for Storage Pool creation.
But for StorageGroup, I am seeing the discrepancy between the schema and above mentioned input mockup. For example, As per schema, Volumes part of storage group will be represented in Navigation Property to collection of Volumes i.e. as like below (https://swordfish.mockable.io/redfish/v1/StorageServices/1/StorageGroups/3)
"Volumes": { "@odata.id": "/redfish/v1/StorageServices/1/StorageGroups/3/Volumes" }
But in your input mockup , it is a collection of reference to volumes. So which means, for only create, do we need follow this convention?
"Volumes": [ { "@odata.id": "/redfish/v1/StorageServices/1/Volumes/3" } ]
|
|
|
Post by Venkatesh Periyasamy on May 11, 2017 5:34:30 GMT
As per my understanding, EndPoint (In the storage context it is iSCSI Target) can be deleted when it is not required. But when i looked into the schema 1.1.0, Capabilities.DeleteRestrictions is missing. Is it allowed or Is my understanding is incorrect?
|
|
|
Post by Venkatesh Periyasamy on May 11, 2017 5:15:28 GMT
I am trying to prepare sample input mockups which are required for the resources that can be created(POST Commands) specific to Swordfish specification 1.0.3.
1. For Storage Pool creation, the client should specify the Name, Class Of Service and required capacity. Here I am not able to get how to pass required capacity? Since Capacity Property of schema talks about the usage and allocated space from the underlying DataStore. How to specify the drives/pools/Volumes that should to be used to create storage pool.
2. For Storage Group, the client may need to specify the volumes, client point groups and server endpoint groups. But as per storage group schema, those properties are defined as reference to volume collection,ServerEndpointCollection,ClientEndPointCollection as follows
<NavigationProperty Name="ClientEndpointGroups" Type="EndpointGroupCollection.EndpointGroupCollection" ContainsTarget="true"> <NavigationProperty Name="ServerEndpointGroups" Type="EndpointGroupCollection.EndpointGroupCollection" ContainsTarget="true"> <NavigationProperty Name="Volumes" Type="VolumeCollection.VolumeCollection" ContainsTarget="true">
Now how do i need to specify these properties to create new storage group? Do i need to create endpoint group collection and then pass it to the schema or ?
Thanks in advance,
|
|
|
Post by Venkatesh Periyasamy on May 10, 2017 14:03:42 GMT
I am trying to prepare sample input mockups which are required for the resources that can be created(POST Commands) specific to Swordfish specification 1.0.3.
1. For Storage Pool creation, the client should specify the Name, Class Of Service and required capacity. Here I am not able to get how to pass required capacity? Since Capacity Property of schema talks about the usage and allocated space from the underlying DataStore. How to specify the drives/pools/Volumes that needs to be used to create storage pool.
2. For Storage Group, the client may need to specify the volumes, client point groups and server endpoint groups. But as per storage group schema, those properties are defined as reference to volume collection,ServerEndpointCollection,ClientEndPointCollection as follows
<NavigationProperty Name="ClientEndpointGroups" Type="EndpointGroupCollection.EndpointGroupCollection" ContainsTarget="true"> <NavigationProperty Name="ServerEndpointGroups" Type="EndpointGroupCollection.EndpointGroupCollection" ContainsTarget="true"> <NavigationProperty Name="Volumes" Type="VolumeCollection.VolumeCollection" ContainsTarget="true">
Now how do i need to specify these properties to create new storage group? Do i need to create endpoint group collection and then pass it to the schema or ?
Thanks in advance,
|
|