Scott Baker | a6c687c | 2018-07-16 15:08:49 -0700 | [diff] [blame] | 1 | option name = "fabric-crossconnect"; |
| 2 | option app_label = "fabric-crossconnect"; |
Scott Baker | d443ea7 | 2018-08-07 13:50:06 -0700 | [diff] [blame] | 3 | option legacy = "True"; |
Scott Baker | a6c687c | 2018-07-16 15:08:49 -0700 | [diff] [blame] | 4 | |
| 5 | message FabricCrossconnectService (Service){ |
| 6 | option verbose_name = "Fabric Crossconnect Service"; |
Scott Baker | 06fea71 | 2019-01-22 16:54:30 -0800 | [diff] [blame] | 7 | option description = "Service that implements connectivity through the aggregation switch by crossconnecting ports"; |
Scott Baker | a6c687c | 2018-07-16 15:08:49 -0700 | [diff] [blame] | 8 | } |
| 9 | |
Scott Baker | a6c687c | 2018-07-16 15:08:49 -0700 | [diff] [blame] | 10 | message FabricCrossconnectServiceInstance (ServiceInstance){ |
| 11 | option verbose_name = "Fabric Crossconnect Service Instance"; |
Scott Baker | 06fea71 | 2019-01-22 16:54:30 -0800 | [diff] [blame] | 12 | option owner_class_name = "FabricCrossconnectService"; |
| 13 | option description = "Tenancy in the fabric crossconnect service, representing one s-tag routed through the agg switch"; |
Scott Baker | 8256547 | 2018-08-20 11:40:03 -0700 | [diff] [blame] | 14 | |
Scott Baker | 06fea71 | 2019-01-22 16:54:30 -0800 | [diff] [blame] | 15 | 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 Baker | a6c687c | 2018-07-16 15:08:49 -0700 | [diff] [blame] | 23 | } |
Scott Baker | 547dea0 | 2018-07-18 15:24:26 -0700 | [diff] [blame] | 24 | |
| 25 | message BNGPortMapping (XOSBase) { |
Scott Baker | 06fea71 | 2019-01-22 16:54:30 -0800 | [diff] [blame] | 26 | required string s_tag = 1 [ |
| 27 | help_text = "Single s-tag, range of s-tags, or 'ANY'", |
| 28 | blank = False, |
| 29 | db_index = False, |
| 30 | null = False, |
| 31 | tosca_key = True, |
| 32 | unique = True]; |
| 33 | required int32 switch_port = 2 [ |
| 34 | help_text = "Switch port where BNG or other egress point is connected", |
| 35 | blank = False, |
| 36 | db_index = False, |
| 37 | null = False]; |
Scott Baker | 547dea0 | 2018-07-18 15:24:26 -0700 | [diff] [blame] | 38 | } |