blob: 58441066e0c2669160104f742f91b312cf74b97d [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) {
Scott Baker06fea712019-01-22 16:54:30 -080028 required string s_tag = 1 [
29 help_text = "Single s-tag, range of s-tags, or 'ANY'",
Scott Baker912b04b2019-04-09 15:34:44 -070030 max_length = 1024,
Scott Baker06fea712019-01-22 16:54:30 -080031 tosca_key = True,
32 unique = True];
33 required int32 switch_port = 2 [
Scott Bakerdf659772019-03-12 15:42:07 -070034 help_text = "Switch port where BNG or other egress point is connected"];
Himanshu Bhandarifadca2b2020-06-17 21:56:45 +053035 optional string old_s_tag = 3 [
36 help_text = "Field for tracking old s-tag of bngportmapping instance",
37 max_length = 1024];
Scott Baker547dea02018-07-18 15:24:26 -070038}