flavor swap, RXTX Quota and RXTX Cap

Asked by Giuseppe Civitella

Hi,

when creating a flavor I can set parameters like swap, RXTX Quota and RXTX Cap.
Are they implemented? If they are, how are RXTX quota and RXTX Cap used?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Brian Lamar
Solved:
Last query:
Last reply:
Revision history for this message
Best Brian Lamar (blamar) said :
#1

I believe that 'swap' is used in the compute API when creating a swap volume. The code is in nova/compute/api.py in the _volume_size() method. As for the RXTX quota and RXTX Cap properties I believe they're implemented in the XenAPI driver but not in any other virt drivers. You can see them being used in the XenAPIBridgeDriver:plug() method in nova/virt/xenapi/vif.py.

I know this might not be what you're looking for, but from a code perspective they are being used...however I do not know the *specific* situations and how they work. Perhaps someone can give a more detailed answer.

Revision history for this message
Giuseppe Civitella (gcivitella) said :
#2

Thanks Brian Lamar, that solved my question.