shivani vaidya | 530917c | 2017-07-11 11:27:48 -0700 | [diff] [blame] | 1 | syntax = "proto3"; |
| 2 | option java_package = "org.onosproject.grpc.net.region.models"; |
| 3 | |
| 4 | package net.region; |
| 5 | |
| 6 | enum RegionTypeProto { |
| 7 | /** |
| 8 | * Region represents an entire continent. |
| 9 | */ |
| 10 | CONTINENT = 0; |
| 11 | |
| 12 | /** |
| 13 | * Region represents an entire country. |
| 14 | */ |
| 15 | COUNTRY = 1; |
| 16 | |
| 17 | /** |
| 18 | * Region represents a metropolitan area. |
| 19 | */ |
| 20 | METRO = 2; |
| 21 | |
| 22 | /** |
| 23 | * Region represents a campus. |
| 24 | */ |
| 25 | CAMPUS = 3; |
| 26 | |
| 27 | /** |
| 28 | * Region represents a building. |
| 29 | */ |
| 30 | BUILDING = 4; |
| 31 | |
| 32 | /** |
| 33 | * Region represents a data center. |
| 34 | */ |
| 35 | DATA_CENTER = 5; |
| 36 | |
| 37 | /** |
| 38 | * Region represents a building floor. |
| 39 | */ |
| 40 | FLOOR = 6; |
| 41 | |
| 42 | /** |
| 43 | * Region represents a room. |
| 44 | */ |
| 45 | ROOM = 7; |
| 46 | |
| 47 | /** |
| 48 | * Region represents a rack. |
| 49 | */ |
| 50 | RACK = 8; |
| 51 | |
| 52 | /** |
| 53 | * Region represents a logical grouping. |
| 54 | */ |
| 55 | LOGICAL_GROUP = 9; |
| 56 | } |