blob: 0e6b35ab3178d6577b22042305e77025c8065b5e [file] [log] [blame]
Andrea Campanella65e91e62017-05-22 17:50:37 +02001option name = "metronet";
Sapan Bhatiaf3699482017-05-02 21:20:31 +02002
Andrea Campanella65e91e62017-05-22 17:50:37 +02003message EnterpriseLocation (PlCoreBase){
4 option verbose_name = "Enterprise Localation";
Sapan Bhatiaf3699482017-05-02 21:20:31 +02005
6 required string name = 1 [db_index = False, max_length = 256, null = False, blank = False];
Andrea Campanella65e91e62017-05-22 17:50:37 +02007 required string cord_site_ip = 2 [help_text = "ip of the local site", db_index = False, max_length = 64, null = False, blank = False];
8 required int32 cord_site_port = 3 [help_text = "port of the local site", db_index = False, null = False, blank = False];
9 required string cord_site_username = 4 [help_text = "username of the local site", db_index = False, max_length = 64, null = False, blank = False];
10 required string cord_site_password = 5 [help_text = "password of the local site", db_index = False, max_length = 64, null = False, blank = False];
11 required string cord_site_type = 6 [default = "xos", choices = "(('onos', 'ONOS'), ('xos', 'XOS'))", db_index = False, max_length = 64, null = False, blank = False];
12
Sapan Bhatiaf3699482017-05-02 21:20:31 +020013}
14
Andrea Campanella65e91e62017-05-22 17:50:37 +020015message OnosModel (PlCoreBase){
16 option verbose_name = "Open Network Operating System";
Sapan Bhatiaf3699482017-05-02 21:20:31 +020017
Andrea Campanella65e91e62017-05-22 17:50:37 +020018 required string name = 1 [db_index = False, max_length = 256, null = False, blank = False];
19 required string onos_ip = 2 [help_text = "ip of the transport manager", db_index = False, max_length = 64, null = False, blank = False];
20 required int32 onos_port = 3 [help_text = "port of the transport manager", db_index = False, null = False, blank = False];
21 required string onos_username = 4 [help_text = "username of the transport manager", db_index = False, max_length = 64, null = False, blank = False];
22 required string onos_password = 5 [help_text = "password of the transport manager", db_index = False, max_length = 64, null = False, blank = False];
23 required string onos_type = 6 [default = "local", choices = "(('local', 'Local'), ('global', 'Global'))", db_index = False, max_length = 64, null = False, blank = False];
24
Sapan Bhatiaf3699482017-05-02 21:20:31 +020025}
26
Andrea Campanella65e91e62017-05-22 17:50:37 +020027message UserNetworkInterface (PlCoreBase){
28 option verbose_name = "User Network Interface";
Sapan Bhatiaf3699482017-05-02 21:20:31 +020029
Andrea Campanella65e91e62017-05-22 17:50:37 +020030 required string tenant = 1 [help_text = "tenat name",db_index = False, max_length = 256, null = False, blank = False];
31 required string cpe_id = 2 [db_index = False, max_length = 1024, null = False, blank = False];
32 required string latlng = 3 [help_text = "location, i.e. [37.773972, -122.431297]", db_index = False, max_length = 256, null = False, blank = False];
33 optional string name = 4 [db_index = False, max_length = 256, null = False, blank = False];
Sapan Bhatiaf3699482017-05-02 21:20:31 +020034}
35
36
Sapan Bhatiaf3699482017-05-02 21:20:31 +020037message BandwidthProfile (PlCoreBase){
38 option verbose_name = "Bandwidth Profile";
39
Andrea Campanella65e91e62017-05-22 17:50:37 +020040 required string name = 1 [db_index = False, max_length = 256, null = False, blank = False];
41 required int32 cbs = 2 [help_text = "committed burst size", db_index = False, null = False, blank = False];
42 required int32 ebs = 3 [help_text = "expected burst size", db_index = False, null = False, blank = False];
43 required int32 cir = 4 [help_text = "committed information rate", db_index = False, null = False, blank = False];
44 required int32 eir = 5 [help_text = "expected information rate", db_index = False, null = False, blank = False];
45
Sapan Bhatiaf3699482017-05-02 21:20:31 +020046}
47
Andrea Campanella65e91e62017-05-22 17:50:37 +020048message ELine (PlCoreBase){
49 option verbose_name = "Ethernet Virtual Private Line";
Sapan Bhatiaf3699482017-05-02 21:20:31 +020050
Andrea Campanella65e91e62017-05-22 17:50:37 +020051 required string name = 1 [db_index = False, max_length = 256, null = False, blank = False];
52 required string connect_point_1_id = 2 [db_index = False, max_length = 256, null = False, blank = False];
53 required string connect_point_2_id = 3 [db_index = False, max_length = 64, null = False, blank = False];
54 required string vlanids = 4 [help_text = "comma separated list of vlanIds", db_index = False, null = False, blank = False];
55 required string cord_site_name = 5 [db_index = False, max_length = 64, null = False, blank = False];
56 required string bwp = 6 [help_text = "bandwidth profile name", db_index = False, max_length = 256, null = False, blank = False];
57
Sapan Bhatiaf3699482017-05-02 21:20:31 +020058}
59