blob: b2495b4a5c23f798f7e444676c893b07abf36a60 [file] [log] [blame]
message Network (PlCoreBase,ParameterMixin){
required string name = 1 [db_index = False, max_length = 32, null = False, blank = False];
required manytoone template->NetworkTemplate:network = 2 [db_index = True, null = False, blank = False];
required string subnet = 3 [db_index = False, max_length = 32, null = False, blank = True];
required string start_ip = 4 [db_index = False, max_length = 32, null = False, blank = True];
required string end_ip = 5 [db_index = False, max_length = 32, null = False, blank = True];
optional string ports = 6 [db_index = False, max_length = 1024, null = True, blank = True];
optional string labels = 7 [db_index = False, max_length = 1024, null = True, blank = True];
required manytoone owner->Slice:ownedNetworks = 8 [help_text = "Slice that owns control of this Network", null = False, db_index = True, blank = False];
required int32 guaranteed_bandwidth = 9 [default = 0, null = False, db_index = False, blank = False];
required bool permit_all_slices = 10 [default = False, null = False, db_index = False, blank = True];
optional string topology_parameters = 11 [db_index = False, null = True, blank = True];
optional string controller_url = 12 [db_index = False, max_length = 1024, null = True, blank = True];
optional string controller_parameters = 13 [db_index = False, null = True, blank = True];
optional string network_id = 14 [help_text = "Quantum network", max_length = 256, null = True, db_index = False, blank = True];
optional string router_id = 15 [help_text = "Quantum router id", max_length = 256, null = True, db_index = False, blank = True];
optional string subnet_id = 16 [help_text = "Quantum subnet id", max_length = 256, null = True, db_index = False, blank = True];
required bool autoconnect = 17 [help_text = "This network can be autoconnected to the slice that owns it", default = True, null = False, db_index = False, blank = True];
required manytomany permitted_slices->Slice/NetworkSlice:availableNetworks = 18 [db_index = False, null = False, blank = True];
required manytomany slices->Slice/NetworkSlice:networks = 19 [db_index = False, null = False, blank = True];
required manytomany instances->Instance/Port:networks = 20 [db_index = False, null = False, blank = True];
}