[seba-608]
Added tech profile id support to rcord subscriber

Change-Id: I84a880b337ffbcf8321b6d5ae40fb371543b259e
diff --git a/xos/synchronizer/migrations/0009_rcordsubscriber_decl_tech_profile_id.py b/xos/synchronizer/migrations/0009_rcordsubscriber_decl_tech_profile_id.py
new file mode 100644
index 0000000..a8130e5
--- /dev/null
+++ b/xos/synchronizer/migrations/0009_rcordsubscriber_decl_tech_profile_id.py
@@ -0,0 +1,35 @@
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.20 on 2019-05-20 13:08
+from __future__ import unicode_literals
+
+import django.core.validators
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('rcord', '0008_capital_default_bandwidth_profile'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='rcordsubscriber_decl',
+            name='tech_profile_id',
+            field=models.IntegerField(blank=True, help_text=b'Technology profile id to be used along with Technology type to retreive the profile', null=True, validators=[django.core.validators.MaxValueValidator(65535), django.core.validators.MinValueValidator(0)]),
+        ),
+    ]
diff --git a/xos/synchronizer/models/rcord.xproto b/xos/synchronizer/models/rcord.xproto
index 15a3641..c4797cd 100644
--- a/xos/synchronizer/models/rcord.xproto
+++ b/xos/synchronizer/models/rcord.xproto
@@ -70,6 +70,10 @@
     optional string remote_id = 22 [
         help_text = "Option 82 Remote ID for DHCP relay agent",
         max_length = 256];
+    optional int32 tech_profile_id = 23 [
+        help_text = "Technology profile id to be used along with Technology type to retreive the profile",
+        min_value = 0,
+        max_value = 65535];
 
     required manytoone upstream_bps->BandwidthProfile:us_subscriber = 31:1001 [
         help_text = "The subscriber the IP address belongs to"];