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.

oaktree.proto 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Copyright (c) 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. option java_multiple_files = true;
  17. option java_package = "org.openstack.infra.oaktree";
  18. option java_outer_classname = "OaktreeProto";
  19. option objc_class_prefix = "OAK";
  20. import "common.proto";
  21. import "flavor.proto";
  22. import "floating_ip.proto";
  23. import "image.proto";
  24. import "security_group.proto";
  25. package oaktree;
  26. service Oaktree {
  27. rpc GetFlavor (Filter) returns (Flavor) {}
  28. rpc ListFlavors (Filter) returns (FlavorList) {}
  29. rpc GetFloatingIP (Filter) returns (FloatingIP) {}
  30. rpc ListFloatingIPs (Filter) returns (FloatingIPList) {}
  31. rpc GetImage (Filter) returns (Image) {}
  32. rpc ListImages (Filter) returns (ImageList) {}
  33. rpc GetSecurityGroup (Filter) returns (SecurityGroup) {}
  34. rpc ListSecurityGroups (Filter) returns (SecurityGroupList) {}
  35. rpc GetSecurityGroupRule (Filter) returns (SecurityGroupRule) {}
  36. rpc ListSecurityGroupRules (Filter) returns (SecurityGroupRuleList) {}
  37. }