aboutsummaryrefslogtreecommitdiffstats
path: root/app/discover
AgeCommit message (Collapse)AuthorFilesLines
2017-08-28Merge "Heavily refactored all event based scans"Yaron Yogev3-5/+12
2017-08-28fix fetching of Neutron DB nameyayogev1-4/+2
Change-Id: Ibe377bf081c3b92a14d8b32569a233ddb2a885b0 Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-27handle Neutron DB schema name changesyayogev1-9/+18
Change-Id: I9bf11221319d3ec2174eaa78bcb363b4f24a50fe Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-25Heavily refactored all event based scansIlia Abashin3-5/+12
Restricted real mongo interaction. Still work to do, but it's a good start. Fixed a bug with old subnets not being properly deleted. Change-Id: I5f260e09f0e11a477a47cb031d397a454465123f Signed-off-by: Ilia Abashin <abashinos@gmail.com>
2017-08-23Merge "add -q to ssh to ignore warnnings"Yaron Yogev1-1/+1
2017-08-23add -q to ssh to ignore warnningsyayogev1-1/+1
Change-Id: I311203cd7eea49c1f82624b2aefc86a687c78861 Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-23fix matching of CLI output against regexp listyayogev1-1/+1
Change-Id: Iadc2eb1bc7763e759946f31ddf333ee83d84ac70 Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-23bug fix: searched switch pnic, s.b. host pnicyayogev1-1/+1
Change-Id: I2007813174982c2fb08e80754c1e7b456bc10d8e Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-21bug fix: ANY clique type would be used even if sepecific one existed for the envyayogev1-1/+1
Change-Id: Ia65351a17bca5554c5a7e67016979a2a14190616 Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-21fix CLI unit testsyayogev3-8/+15
Change-Id: Ie54f56adf2cd4cc42cf89c2b30004c1cf15eb2d6 Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-15Fixed api_access unit testsIlia Abashin1-1/+1
Fixed issues caused by migration to 'requests' library Change-Id: I4b77c9b5be8149639ae287c18055382f3892fff4 Signed-off-by: Ilia Abashin <abashinos@gmail.com>
2017-08-14US2853 fix creation of switch_pnic-switch_pnic linksyayogev1-1/+1
Change-Id: I8917d1218ad6b1d3b4eb708d8f8ffad95b2a0e41 Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-14DE811 fix fail on 2nd scan in scan manageryayogev3-281/+255
- keep auth_response per project - also deleted unused ApiFetchEndPoints Change-Id: I7e349431239a4710992eb2824881dc0f1be1704a Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-13set 'switch' attribute in switch objectsyayogev2-1/+2
need to have 'switch' attribute so the switch objects are contained in the grouping by switch in the UI Change-Id: I77071c6b0e7bdfc495e0d6708bfa1aec96b10532 Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-13US2853 fix: switch clique creationyayogev2-53/+98
- bug fix: switch-switch_pnic link was created only for uplink - clique finder: handle switch_pnic-switch_pnic links: search both directions Change-Id: I7b8b4c790212c6f527112cce6d52e40fb615ec52 Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-13TA3017 Added more data to switch pnicsIlia Abashin1-4/+29
Added fvCEp and fvRsCEpToPathEp data to fetched switch pnic data Change-Id: I1a33955369567466dea0e626e1ca3992d1cbf53f Signed-off-by: Ilia Abashin <abashinos@gmail.com>
2017-08-13US2853 fix creation of switch-switch_pnic, remove switch-host_pnicyayogev1-2/+1
Change-Id: Ife6f0f7a007a1c792359f56b91eb033fcfd4400a Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-12US2853 add switch-pnic linksyayogev1-5/+26
link types: switch-switch_pnic, switch-host_pnic Change-Id: Id7614fa71a06a64a731c91716897f495fe306d4d Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-11US2853 make object name shorter for switch pnicsyayogev2-4/+6
Change-Id: Iadc5df69fcdbfa46c29bb94709f67bb95592efcb Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-11US2853 rename pnic to host_pnic & switch_pnicyayogev10-296/+298
fixed clique finder to work with switch-switch link type Change-Id: I4f815f77e6b4ea36669dfb58bb5f5e914fe3e1ac Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-10add parent_type to switch pnics, =switchYaron Yogev2-258/+261
Change-Id: I9eec8d6901ef1564b49ad97c79e0888fabc75cb8 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-10US2853 add switch-switch linksYaron Yogev7-44/+86
Change-Id: I5e27d33f32dc1dfe930cb692cd98604cf437855b Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-10US2853 switch pnic: fix parent, remove host attributeYaron Yogev1-5/+9
- switch pnic parent is the corresponding switch - switch pnics should have switch attribute, not host Change-Id: I637f2542a947200936ac6f39af5ebb776a29babf Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-10US2853 switch pnic should not have host attributeYaron Yogev1-1/+0
Change-Id: I7c2404b14b5fcf6d7234ac600ddc8a1601fbed2d Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-09US2853 ACI data & links addedYaron Yogev4-23/+64
Change-Id: I26d67bd8a03815e816babc5f6bd525bd32efef9c Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-03remove unused method run_query(), formerly exec()Yaron Yogev1-16/+0
Change-Id: I680c652f3ce002b1d7be3401127e2e8c100b9e28 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-03Fix OPNFV Anteater security warnings in DbAccess:Yaron Yogev1-10/+3
- rename _password --> _pwd in parameters of db_connect() - rename exec() --> run_query() - delete unused methods: set(), delete() Change-Id: I87df078fb2c32f47976036f3ccacb6d6e743bde0 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-03US2765 ACI scanning: Added spine switches and pnics fetching functionalityYaron Yogev1-0/+141
Change-Id: Ibc483f5160a6a65f4b2066fcdb1ca09db798251c Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-03use yaml.safe_load instead of yaml.loadYaron Yogev1-1/+1
Change-Id: Ifbe3ce4dba1047ffa97900c47b955192f4c8be1d Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-03remove unneeded debug keeping of event dataYaron Yogev1-2/+0
Change-Id: I591a2edf7ba9dec2912b9f42a5b6bf17542bd519 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-02no need to do monitoring server setup from event listenerYaron Yogev1-1/+0
Change-Id: I29ed70b61aa33a0d138c4f2a3aa778c33783395b Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-07-31US2765 ACI scanning:Yaron Yogev1-23/+35
Added spine switches and pnics fetching functionality Change-Id: Ifc090b31e3821303b94d7a4efe8f887c47458071 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-07-30US2801 changing all 'password' to 'pwd' on environment_configs and test dataYaron Yogev2-4/+4
Change-Id: I1e9615d7144a06b99ae0e04a2b2388194854e16a Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-07-27Calipso initial release for OPNFVYaron Yogev95-0/+7320
Change-Id: I7210c244b0c10fa80bfa8c77cb86c9d6ddf8bc88 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>