blob: a7cbe3516d562a6c1fe91ce00969a686219ec7ae [file] [log] [blame]
Scott Bakera6c687c2018-07-16 15:08:49 -07001option name = "fabric-crossconnect";
2option app_label = "fabric-crossconnect";
Scott Bakerd443ea72018-08-07 13:50:06 -07003option legacy = "True";
Scott Bakera6c687c2018-07-16 15:08:49 -07004
5message FabricCrossconnectService (Service){
6 option verbose_name = "Fabric Crossconnect Service";
Scott Baker06fea712019-01-22 16:54:30 -08007 option description = "Service that implements connectivity through the aggregation switch by crossconnecting ports";
Scott Bakera6c687c2018-07-16 15:08:49 -07008}
9
Scott Bakera6c687c2018-07-16 15:08:49 -070010message FabricCrossconnectServiceInstance (ServiceInstance){
11 option verbose_name = "Fabric Crossconnect Service Instance";
Scott Baker06fea712019-01-22 16:54:30 -080012 option owner_class_name = "FabricCrossconnectService";
13 option description = "Tenancy in the fabric crossconnect service, representing one s-tag routed through the agg switch";
vigneshethiraj9a155172019-06-06 21:40:12 +053014 option policy_implemented = "True";
15 option sync_implemented = "True";
Scott Baker82565472018-08-20 11:40:03 -070016
Scott Baker06fea712019-01-22 16:54:30 -080017 required int32 s_tag = 1 [
18 help_text = "vlan tag of packets to crossconnect"];
19 required string switch_datapath_id = 2 [
20 help_text = "Datapath id of switch where crossconnect will be installed",
21 content_type = "stripped",
22 max_length=256];
23 required int32 source_port = 3 [
24 help_text = "switch port where access device or VM is connected"];
Scott Bakera6c687c2018-07-16 15:08:49 -070025}
Scott Baker547dea02018-07-18 15:24:26 -070026
27message BNGPortMapping (XOSBase) {
Himanshu Bhandari32738e82020-06-10 21:08:49 +053028 option sync_implemented = "True";
29
Scott Baker06fea712019-01-22 16:54:30 -080030 required string s_tag = 1 [
31 help_text = "Single s-tag, range of s-tags, or 'ANY'",
Scott Baker912b04b2019-04-09 15:34:44 -070032 max_length = 1024,
Scott Baker06fea712019-01-22 16:54:30 -080033 tosca_key = True,
34 unique = True];
35 required int32 switch_port = 2 [
Scott Bakerdf659772019-03-12 15:42:07 -070036 help_text = "Switch port where BNG or other egress point is connected"];
Himanshu Bhandarifadca2b2020-06-17 21:56:45 +053037 optional string old_s_tag = 3 [
38 help_text = "Field for tracking old s-tag of bngportmapping instance",
39 max_length = 1024];
Scott Baker547dea02018-07-18 15:24:26 -070040}