gnsi icon indicating copy to clipboard operation
gnsi copied to clipboard

Certz: Need clarification on usage of ExistingEntity

Open macb2625 opened this issue 1 year ago • 1 comments

As part of ExistingEntity(https://github.com/openconfig/gnsi/blob/main/certz/certz.proto#L580)message do we also send version and created on fields?.Here it's expected us to just copy the mentioned entity from existing profile. So is it implied that we copy version and created on fields as well for that particular entity from the profile mentioned in the request?

so my question is do we need to any version field checking for this type of rotate request? if yes then how? Do we need to check versions between the destination profile entity(if present) and source profile entity? for example:

  1. profile being rotated has a CertficateChain with version "v1.1".
  2. profile from which the candidate CertficateChain needs to be copied also has "v1.1" so we reject this request? If thats the case then version and created on field should not be sent as part of ExistingEntity request. https://github.com/openconfig/gnsi/blob/main/certz/certz.proto#L280 https://github.com/openconfig/gnsi/blob/main/certz/certz.proto#L542

macb2625 avatar May 21 '24 17:05 macb2625

@morrowc @marcushines can you please check this query?

macb2625 avatar May 22 '24 14:05 macb2625

Is this question still relevant?

morrowc avatar Nov 19 '24 20:11 morrowc

no reply so closing.

morrowc avatar Dec 28 '24 19:12 morrowc

I mean closed.

morrowc avatar Dec 28 '24 19:12 morrowc