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"; |
| 7 | option description="Fabric Crossconnect implementation"; |
| 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"; |
| 12 | option owner_class_name="FabricCrossconnectService"; |
Scott Baker | 8256547 | 2018-08-20 11:40:03 -0700 | [diff] [blame] | 13 | |
| 14 | optional int32 s_tag = 1 [help_text = "s-tag"]; |
| 15 | optional string switch_datapath_id = 2 [help_text = "switch datapath id"]; |
| 16 | optional int32 source_port = 3 [help_text = "source port of fabric crossconnect"]; |
Scott Baker | a6c687c | 2018-07-16 15:08:49 -0700 | [diff] [blame] | 17 | } |
Scott Baker | 547dea0 | 2018-07-18 15:24:26 -0700 | [diff] [blame] | 18 | |
| 19 | message BNGPortMapping (XOSBase) { |
Scott Baker | d443ea7 | 2018-08-07 13:50:06 -0700 | [diff] [blame] | 20 | required string s_tag = 1 [help_text = "Single s-tag, range of s-tags, or ANY", null = False, db_index = False, blank = False, unique=True, tosca_key=True]; |
Scott Baker | 547dea0 | 2018-07-18 15:24:26 -0700 | [diff] [blame] | 21 | required int32 switch_port = 2 [help_text = "Port Number", null = False, db_index = False, blank = False]; |
| 22 | } |