Integrating another option to set EPC size
Closed this issue · 3 comments
Have an option --cloudsgima-epc-size and the input should be an integer. Upon setting this option the guest should be created with this parameter in the JSON:
"cpu_epc": "8"
Example
{
"objects": [
{
"cpu": 1000,
"mem": 536870912,
"name": "testServerAcc",
"vnc_password": "testserver1",
"cpu_epc": "8"
}
]
}
Even though the input is an integer, it's passed as a string here, but don't mind that.
Note, this will not work in any exposed locations.
@bogdan-ds, I need some description for this option flag (and in readme). EPC
- it's an abbreviation for Enclave Page Cache, right?
I suggest to rename option to cloudsigma-cpu-epc-size
because of json property name
@pavel-github yes, you're right. That's what it means.
And yes, I agree with the proposed naming.
Thank you.
@bogdan-ds, the new option for EPC is implemented. Could you check whether the new option will be considered when server creating?
P.S. Unit tests are working, but better check the real behavior from API.