blob: 1da327e8444f9ac0d0daddbfbe1a1e4f0a0caf05 [file] [log] [blame]
Andrea Campanella95c02bd2017-09-01 16:51:03 +02001option name = "vnaas";
Matteo Scandolob9821982017-11-16 13:37:10 -08002option app_label = "vnaas";
Scott Bakeref14f722018-02-28 09:17:01 -08003option legacy = "True";
Andrea Campanella95c02bd2017-09-01 16:51:03 +02004
5message EnterpriseLocation (XOSBase){
6 option verbose_name = "Enterprise Location";
7
8 required string name = 1 [help_text = "Name for this Enterprise Location", db_index = False, max_length = 256, null = False, blank = False];
9 required string cord_site_ip = 2 [help_text = "IP of the local site", db_index = False, max_length = 64, null = False, blank = False];
10 required int32 cord_site_port = 3 [help_text = "Port of the local site", db_index = False, null = False, blank = False];
11 required string cord_site_username = 4 [help_text = "Username of the local site", db_index = False, max_length = 64, null = False, blank = False];
12 required string cord_site_password = 5 [help_text = "Password of the local site", db_index = False, max_length = 64, null = False, blank = False];
13 required string cord_site_type = 6 [default = "xos", choices = "(('onos', 'ONOS'), ('xos', 'XOS'))", db_index = False, max_length = 64, null = False, blank = False];
14
15}
16
17message OnosModel (XOSBase){
18 option verbose_name = "Open Network Operating System";
19
20 required string name = 1 [db_index = False, max_length = 256, null = False, blank = False];
21 required string onos_ip = 2 [help_text = "IP of the transport manager", db_index = False, max_length = 64, null = False, blank = False];
22 required int32 onos_port = 3 [help_text = "Port of the transport manager", db_index = False, null = False, blank = False];
23 required string onos_username = 4 [help_text = "Username of the transport manager", db_index = False, max_length = 64, null = False, blank = False];
24 required string onos_password = 5 [help_text = "Password of the transport manager", db_index = False, max_length = 64, null = False, blank = False];
25 required string onos_type = 6 [default = "local", choices = "(('local', 'Local'), ('global', 'Global'))", db_index = False, max_length = 64, null = False, blank = False];
26
27}
28
29message UserNetworkInterface (XOSBase){
30 option verbose_name = "User Network Interface";
31
32 required string tenant = 1 [help_text = "Tenant name", db_index = False, max_length = 256, null = False, blank = False];
33 required string cpe_id = 2 [db_index = False, max_length = 1024, null = False, blank = False];
34 required string latlng = 3 [help_text = "Location, i.e. [37.773972, -122.431297]", db_index = False, max_length = 256, null = False, blank = False];
35 optional string name = 4 [help_text = "Name for this User Network Interface", db_index = False, max_length = 256, null = False, blank = False];
36}
37
38
39message BandwidthProfile (XOSBase){
40 option verbose_name = "Bandwidth Profile";
41
42 required string name = 1 [help_text = "Name for this Bandwidth Profile", db_index = False, max_length = 256, null = False, blank = False];
43 required int32 cbs = 2 [help_text = "Committed burst size", db_index = False, null = False, blank = False];
44 required int32 ebs = 3 [help_text = "Expected burst size", db_index = False, null = False, blank = False];
45 required int32 cir = 4 [help_text = "Committed information rate", db_index = False, null = False, blank = False];
46 required int32 eir = 5 [help_text = "Expected information rate", db_index = False, null = False, blank = False];
47
48}
49
50message ELine (XOSBase){
51 option verbose_name = "Ethernet Virtual Private Line";
Andrea Campanella561e09a2017-11-17 13:16:17 -080052 option plural = "Elines";
Andrea Campanella95c02bd2017-09-01 16:51:03 +020053
54 required string name = 1 [help_text = "Name for this ELine", db_index = False, max_length = 256, null = False, blank = False];
Andrea Campanella561e09a2017-11-17 13:16:17 -080055 required manytoone connect_point_1->UserNetworkInterface:incoming_eline = 2 [help_text = "Cpe_id of the first connection point", db_index = False, max_length = 256, null = False, blank = False];
56 required manytoone connect_point_2->UserNetworkInterface:outgoing_eline = 3 [help_text = "Cpe_id of the second connection point", db_index = False, max_length = 64, null = False, blank = False];
Andrea Campanella95c02bd2017-09-01 16:51:03 +020057 required string vlanids = 4 [help_text = "Comma separated list of vlanIds", db_index = False, null = False, blank = False];
58 required string cord_site_name = 5 [help_text = "Name of the CORD site", db_index = False, max_length = 64, null = False, blank = False];
Andrea Campanella561e09a2017-11-17 13:16:17 -080059 required manytoone bwp->BandwidthProfile:elines = 6 [help_text = "Bandwidth profile name", db_index = False, max_length = 256, null = False, blank = False];
Andrea Campanella95c02bd2017-09-01 16:51:03 +020060
61}