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.

floating_ip.proto 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 FloatingIP {
  19. Location location = 1;
  20. string id = 2;
  21. bool is_attached = 3;
  22. string fixed_ip_address = 4;
  23. string floating_ip_address = 5;
  24. string network = 6;
  25. string port = 7;
  26. enum Status {
  27. active = 0;
  28. down = 1;
  29. error = 2;
  30. }
  31. Status status = 8;
  32. map<string, string> properties = 99;
  33. }
  34. message FloatingIPList {
  35. repeated FloatingIP floating_ips = 1;
  36. }