summaryrefslogtreecommitdiffstats
path: root/fabric-discovery-plugin/provider/src
AgeCommit message (Collapse)AuthorFilesLines
2017-09-25Remove unused importssurya-huawei1-3/+0
Removed unused imports to increase the code's readability Issue-Id: CCSDK-87 Change-Id: Ib8f9dbe1e0a05567c75f7fcd46ab024f5b433fef Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-22Implement test cases for fabric discovery pluginArun S. Yerra1-0/+23
This change adds a negative test case to test input from directed graph to start listening to domain controller notifications. Issue-id: CCSDK-96 Change-Id: I2dd1a4d2264df4c142362e242e04bf9495e0351a Signed-off-by: Arun S. Yerra <arun.yerra@huawei.com>
2017-09-21Replace type specification with diamond operatorsurya-huawei1-2/+2
Major issue in sli/plugins module *Used diamond operator to reduce verbosity of generics code *Removed unnecessary parantheses as they can be misleading sometimes Issue-Id: CCSDK-87 Change-Id: I81c0b566f5beb81d3733549a2f9de81b50d6814c Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-19Implement test case for Fabric Discovery PluginArun S. Yerra1-0/+35
Fabric Discovery plugin implements framework to connect to fabric update notifications from local domain controllers. This task is to implement unit test case for this module. Issue-Id: CCSDK-96 Change-Id: I3387f248e693a7da6b4817bc27f87dbc86aea806 Signed-off-by: Arun S. Yerra <arun.yerra@huawei.com>
2017-09-18Implement fabric discovery DG parameter validationArun S. Yerra1-1/+22
Directed Graph to establish notification stream session with local domain controller passes the REST notification server address. It also passes a a boolean parameter to to either start or stop the session. This change adds logic to validate these input parameters, Issue-Id: CCSDK-88 Change-Id: I3fa05f5badeafbaa15e5ae89a3a60b8e237f212b Signed-off-by: Arun S. Yerra <arun.yerra@huawei.com>
2017-09-18Implement framework to process REST notificationsArun S. Yerra7-0/+380
Global SDNC controller needs information about network Devices (mostly PNFs) so as to instantiate/configure service. Domain Controllers control/manage the network devices within the fabric. This task is to implement RESTCONF notification processing framework, so that Global SDNC controller can process notifications from Domain controllers. Change-Id: Ia5edb5006ac3fd4ec71e55f92a05e79e40ce76d2 Issue-Id: CCSDK-88 Signed-off-by: Arun S. Yerra <arun.yerra@huawei.com>