-
Story
-
Resolution: Done
-
Medium
-
None
-
None
Model dmi plugins might work based on cmhandle properties when it giving back the module sets.
To make cmHandle version upgrade work model dmi plugin behavior can be modified to work based on properties and moduleSetTag, to be able to give back correct module set during a cmhandle version upgrade.
Currently moduleSetTag is not added to the request which is sent to model dmi plugin (in CPS version 3.4.1). Without that cmhandle upgrade wont work in an environment where model dmi plugin is prepared to work based on moduleSetTag.
Please add moduleSetTag to the request towards dmi plugin if moduleSetTag is set for the cmHandle.
Affected Interface: DMI-I-01
Open API Method: /v1/ch/{cmHandle}/modules
affected component
ModuleReferencesRequest:
type: object
properties:
cmHandleProperties:
$ref: '#/components/schemas/cmHandleProperties'
moduleSetTag:
.....
csaba.eder to check if other method (for resource) needs this too: /v1/ch/{cmHandle}/moduleResources:
Decision: We don't need the module set tag to get the definition of a given module reference
Note the new field wil always be added but value could be 'blank' (depending on client use)
How?
- update DMI interface to have the optional field (moduleSetTag)
- release DMI
- update NCMP to use the latest version
- populate the new optional field in the relevant request
- update DMI Stub to log the moduleSetTag
A/C:
- deliver updated DMI plugin (incl. Swagger updates)
- demo that the correct module set tag is logged
- relates to
-
CPS-2027 Upgrade yang modules using module set tag functionalities fix
- Closed
- split to
-
CPS-2181 Add moduleSetTag to dmi endpoint calls to /dmi/v1/ch/{cmHandle}/moduleResources
- In Progress
-
CPS-2182 Add moduleSetTag to /dmi/v1/ch/{cmHandleId}/data (batch job request)
- In Progress
-
CPS-2187 Add moduleSetTag to /dmi/v1/ch/{cmHandleId}/data/ds/{datastore}
- In Progress
- mentioned in
-
Page Loading...