Protobuf model and library code for oaktree
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

flavor.proto 1002B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Copyright (c) 2016 Red Hat, Inc
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  12. // implied.
  13. // See the License for the specific language governing permissions and
  14. // limitations under the License.
  15. syntax = "proto3";
  16. import "common.proto";
  17. package oaktree;
  18. message Flavor {
  19. Location location = 1;
  20. string id = 2;
  21. string name = 3;
  22. bool is_public = 4;
  23. bool disabled = 5;
  24. uint32 ram = 6;
  25. uint32 vcpus = 7;
  26. uint64 disk = 8;
  27. uint32 ephemeral = 9;
  28. uint64 swap = 10;
  29. float rxtx_factor = 11;
  30. map<string, string> properties = 99;
  31. }
  32. message FlavorList {
  33. repeated Flavor flavors = 1;
  34. }