restart of schema is causing agent to RST and re-establish the BGP connection to the CN. Schema restart is causing 3 updates to be pushed to agent; the 2nd update has the wrong ASN.
root@csol2-node5:/var/tmp# grep b32d1de4-be2c-44d4-8df3-6c6a0e3eb0d6 config.txt
2016 Apr 26 10:57:47.317174 csol2-node5 [:contrail-api:] : VncApiConfigLog: [VncApiCommon: identifier_uuid = b32d1de4-be2c-44d4-8df3-6c6a0e3eb0d6, object_type = bgp_router, identifier_name = default-domain:symantec.Tenant.125:tenant125.test_id1.Private_VSRX_BGP_VN0:tenant125.test_id1.Private_VSRX_BGP_VN0:3bd30f9b-f0d7-4fc2-b0fc-c00fe5121235, url = http://172.16.180.25:8082/bgp-router/b32d1de4-be2c-44d4-8df3-6c6a0e3eb0d6, operation = put, useragent = csol2-node5:/usr/bin/contrail-schema, remote_ip = 172.16.180.25:8082, body = {"bgp-router": {"uuid": "b32d1de4-be2c-44d4-8df3-6c6a0e3eb0d6", "bgp_router_parameters": {"vendor": null, "admin_down": false, "local_autonomous_system": null, "auth_data": null, "autonomous_system": 652, "address": "1.3.0.3", "source_port": 50025, "router_type": "bgpaas-client", "identifier": "1.3.0.3", "hold_time": 90, "port": null, "address_families": null}}}, domain = default-domain]
2016 Apr 26 10:57:50.670946 csol2-node5 [:contrail-api:] : VncApiConfigLog: [VncApiCommon: identifier_uuid = b32d1de4-be2c-44d4-8df3-6c6a0e3eb0d6, object_type = bgp_router, identifier_name = default-domain:symantec.Tenant.125:tenant125.test_id1.Private_VSRX_BGP_VN0:tenant125.test_id1.Private_VSRX_BGP_VN0:3bd30f9b-f0d7-4fc2-b0fc-c00fe5121235, url = http://172.16.180.25:8082/bgp-router/b32d1de4-be2c-44d4-8df3-6c6a0e3eb0d6, operation = put, useragent = csol2-node5:/usr/bin/contrail-schema, remote_ip = 172.16.180.25:8082, body = {"bgp-router": {"uuid": "b32d1de4-be2c-44d4-8df3-6c6a0e3eb0d6", "bgp_router_parameters": {"vendor": null, "admin_down": false, "local_autonomous_system": null, "auth_data": null, "autonomous_system": 64512, "address": "1.3.0.3", "source_port": 50025, "router_type": "bgpaas-client", "identifier": "1.3.0.3", "hold_time": 90, "port": null, "address_families": null}}}, domain = default-domain]
2016 Apr 26 10:57:56.190751 csol2-node5 [:contrail-api:] : VncApiConfigLog: [VncApiCommon: identifier_uuid = b32d1de4-be2c-44d4-8df3-6c6a0e3eb0d6, object_type = bgp_router, identifier_name = default-domain:symantec.Tenant.125:tenant125.test_id1.Private_VSRX_BGP_VN0:tenant125.test_id1.Private_VSRX_BGP_VN0:3bd30f9b-f0d7-4fc2-b0fc-c00fe5121235, url = http://172.16.180.25:8082/bgp-router/b32d1de4-be2c-44d4-8df3-6c6a0e3eb0d6, operation = put, useragent = csol2-node5:/usr/bin/contrail-schema, remote_ip = 172.16.180.25:8082, body = {"bgp-router": {"uuid": "b32d1de4-be2c-44d4-8df3-6c6a0e3eb0d6", "bgp_router_parameters": {"vendor": null, "admin_down": false, "local_autonomous_system": null, "auth_data": null, "autonomous_system": 652, "address": "1.3.0.3", "source_port": 50025, "router_type": "bgpaas-client", "identifier": "1.3.0.3", "hold_time": 90, "port": null, "address_families": null}}}, domain = default-domain]
Review in progress for https:/ /review. opencontrail. org/19648
Submitter: Sachin Bansal (<email address hidden>)