blob: 0d8fc45f568a642d9415b22919faff95b068fcbc [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";
Scott Baker82565472018-08-20 11:40:03 -070014
Scott Baker06fea712019-01-22 16:54:30 -080015 required int32 s_tag = 1 [
16 help_text = "vlan tag of packets to crossconnect"];
17 required string switch_datapath_id = 2 [
18 help_text = "Datapath id of switch where crossconnect will be installed",
19 content_type = "stripped",
20 max_length=256];
21 required int32 source_port = 3 [
22 help_text = "switch port where access device or VM is connected"];
Scott Bakera6c687c2018-07-16 15:08:49 -070023}
Scott Baker547dea02018-07-18 15:24:26 -070024
25message BNGPortMapping (XOSBase) {
Scott Baker06fea712019-01-22 16:54:30 -080026 required string s_tag = 1 [
27 help_text = "Single s-tag, range of s-tags, or 'ANY'",
Scott Baker912b04b2019-04-09 15:34:44 -070028 max_length = 1024,
Scott Baker06fea712019-01-22 16:54:30 -080029 tosca_key = True,
30 unique = True];
31 required int32 switch_port = 2 [
Scott Bakerdf659772019-03-12 15:42:07 -070032 help_text = "Switch port where BNG or other egress point is connected"];
Scott Baker547dea02018-07-18 15:24:26 -070033}