summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-12add switch-switch_pnic to schemesKoren Lev2-0/+22
Change-Id: I7fbac31b4b118e9d7e79ea5d526ce9971465be01 Signed-off-by: Koren Lev <korenlev@gmail.com>
2017-08-12Merge "US2853 add switch-pnic links"Koren Lev1-5/+26
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-12add switch_pnic attributes for ui viewKoren Lev1-0/+8
Change-Id: I7e3164b8326979f20509b308d0ade677c3017cec Signed-off-by: Koren Lev <korenlev@gmail.com>
2017-08-12fixes and re-scheme for host_pnic and switch_pnicKoren Lev4-167/+178
Change-Id: I3e5501dd9beb100a66c5a7bdba6e5cd967f4a21c Signed-off-by: Koren Lev <korenlev@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_pnicyayogev22-1279/+1257
fixed clique finder to work with switch-switch link type Change-Id: I4f815f77e6b4ea36669dfb58bb5f5e914fe3e1ac Signed-off-by: yayogev <yaronyogev@gmail.com>
2017-08-10object_types_for_links updatedKoren Lev1-10/+14
Change-Id: I0b56cc2ab985bd3c0afdfc8ab568bb86768c3092 Signed-off-by: Koren Lev <korenlev@gmail.com>
2017-08-10fixes to clique_types creationsKoren Lev3-1/+6
Change-Id: I05cf735bdb50bc5b0daa3f88cce0a017a96a7239 Signed-off-by: Koren Lev <korenlev@gmail.com>
2017-08-10link_types and constants updatesKoren Lev2-270/+291
Change-Id: I3fdfb723c51087dd24bc9ea303028d4970a518fb Signed-off-by: Koren Lev <korenlev@gmail.com>
2017-08-10Merge "add parent_type to switch pnics, =switch"Yaron Yogev2-258/+261
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-10Merge "US2853 add switch-switch links"Yaron Yogev8-47/+94
2017-08-10US2853 add switch-switch linksYaron Yogev8-47/+94
Change-Id: I5e27d33f32dc1dfe930cb692cd98604cf437855b Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-10ui fixes for aci configKoren Lev6-16/+59
Change-Id: I2e873be74bf146201a7f425a5e09a22b40afbfa2 Signed-off-by: Koren Lev <korenlev@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-10Merge "US2853 switch pnic should not have host attribute"Koren Lev1-1/+0
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-09Merge "US2853 ACI data & links added"Koren Lev4-23/+64
2017-08-09US2853 ACI data & links addedYaron Yogev4-23/+64
Change-Id: I26d67bd8a03815e816babc5f6bd525bd32efef9c Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-08Merge "fix syntax error"Yaron Yogev1-1/+1
2017-08-08fix syntax errorYaron Yogev1-1/+1
Change-Id: I99c463efc2dc9cceb9c97508f792e26ff98fc4f7 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-08bug fix on ldap.conf creationKoren Lev1-1/+1
Change-Id: If3562d485cd9acc930b48b761780696c10a9155c Signed-off-by: Koren Lev <korenlev@gmail.com>
2017-08-08call db.authenticate() after connecting to MongoYaron Yogev1-0/+2
Change-Id: I6c53cd18f1d1b2cb841aa6b72e693c81d5611d0a Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-07replace password values with 'dummy_pwd'Yaron Yogev1-8/+8
Change-Id: I26a8e9c08a31179ba0fedd2a1cb17fc9e348dfb9 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-07remove unused TMP_FILES_DIRYaron Yogev1-1/+0
Change-Id: Ib2b8cf1b16ad2f404039e106bb4bb5be710bfdaa Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-07use tempfile.TempDirectory instead of /tmpYaron Yogev1-9/+3
Change-Id: I408097ebd5f40a7f5ee5f1cc44e2a93410c0c7cc Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-06some more refactoring, now workingYaron Yogev1-134/+132
return the factoring removed in latest commit add refactoring of image download code fixed ldap config file text writing Change-Id: I80fadf5c2eaba53fe12271f50dd156604d175030 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-06latest ui code fixes merged in opnfv repoKoren Lev54-1595/+370
Change-Id: Ib6d7f81e4a85286b7b30d332c757f7eb1bb519f3 Signed-off-by: Koren Lev <korenlev@gmail.com>
2017-08-06fixed config files creation, workaround docker sdk bugKoren Lev1-92/+64
Change-Id: I10c9b88e188d0979444b65697fffe321b7abbf65 Signed-off-by: Koren Lev <korenlev@gmail.com>
2017-08-03Fix Anteater security warnings in Calipso installerYaron Yogev1-213/+281
Change-Id: I8b3aa8da455cd31775ad43aa3b93e8022ea4860e 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-03Merge "remove unneeded debug keeping of event data"Yaron Yogev1-2/+0
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-03Merge "Fix sending of restart command to Sensu server: - SshConnection: ↵Yaron Yogev0-0/+0
get_ssh(): handle host == monitoring server - if host is the one defined in Monitoring config, use the access definitions for the server_ip - Fix connections management: - no need to disinguish between CLI connections and SFTP ones; - add get_connection_key(); - rename the Paramiko SSH client data member --> ssh_client"
2017-08-03Merge "US2765 ACI scanning: Added spine switches and pnics fetching ↵Yaron Yogev0-0/+0
functionality"
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-08-02fix setting environment name for Mongo loggingYaron Yogev1-7/+3
Change-Id: Iaa8509743ef924e6cbd2016a875dbf8f44815819 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-02Fix sending of restart command to Sensu serverYaron Yogev2-44/+41
- SshConnection: get_ssh(): handle host == monitoring server - if host is the one defined in Monitoring config, use the access definitions for the server_ip - Fix connections management: - no need to disinguish between CLI connections and SFTP ones; - add get_connection_key(); - rename the Paramiko SSH client data member --> ssh_client Change-Id: I9e127774c9287d81d73ce5ba02704d3b7cda6725 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-02Fix sending of restart command to Sensu server:Yaron Yogev2-44/+41
- SshConnection: get_ssh(): handle host == monitoring server - if host is the one defined in Monitoring config, use the access definitions for the server_ip - Fix connections management: - no need to disinguish between CLI connections and SFTP ones; - add get_connection_key(); - rename the Paramiko SSH client data member --> ssh_client Change-Id: I73406caf6f617068d907f6d771bccf4fb3c5e289 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-01adding .gitignoreYaron Yogev1-0/+10
Change-Id: I5ccce5c2cbd2038cf90c3fb3580e015982f2b8ca Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
2017-08-01change password to pwd + add missing mongo credentials log messageKoren Lev1-3/+5
Change-Id: Id55a52742b396783ef7c8844db0ef3e10aba65f2 Signed-off-by: Koren Lev <korenlev@gmail.com>
2017-08-01pwd for mongo_conf instead of passwordKoren Lev1-1/+1
Change-Id: Ib9e534f80ab16d6b3c14877b633f929d60cffeb1 Signed-off-by: Koren Lev <korenlev@gmail.com>