Initial value on virtual ressources

Hi,
When I save a Blueprint, the initial value are not recording on the Blueprint.
So, when I apply a Blueprint, this initial value are not applied.
Have a solution to apply this values ?
It is possible by API but do you know a more simple method ?
Thanks
Romuald

Hi Romuald,
I don’t have that issue when saving Blueprint.


Please make sure that the virtual resources are configured correctly

Or you can use API to create the Blueprint
POST https://octave-api.sierrawireless.io/v5.0/<company_name>/blueprint
The all resources should be set in “state” item of Body data:

“state”: {
“/virtual/config”: {
“free_space”: {
“dt”: 2,
“v”: 10
}
},

For the details, please refer https://rest.octave.dev/#blueprint-object

Thanks,

So, the “dt” is Data Type :slight_smile:
1 = boolean
2 = integer
3 = string

And “v” is initial value.

It is exact ?

Thanks

Yes, “dt” is data type, and “v” is initial value.

Thanks,