summaryrefslogtreecommitdiffstats
path: root/modules
AgeCommit message (Collapse)AuthorFilesLines
2017-02-21[deployment_handler] Opendaylight node checktomsou1-6/+8
- Enhance functionality of manager.py to check if a node is opendaylight - Update is_compute and is_controller methods, using the Role Class attributes Change-Id: Icf1d83b289bf6e87f83b0e1b5bdd2f9da436cde5 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-02-17Merge "[deployment_handler] Add memory and cpu info to the nodes"Jose Lausuch1-22/+58
2017-02-16[deployment_handler] Add memory and cpu info to the nodesjose.lausuch1-22/+58
output: http://pastebin.com/raw/KtuvGPs1 Change-Id: Ie4eb33b041e9ac0ac992a615a29dd7aeab7d857f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-16[deployment_handler] Fix getting roles from fuel node outputRomanos Skiadas1-1/+1
The roles column that the fuel adapter should look in is "roles" but it accidentally ended up looking in "pending_roles". Change-Id: Ifcc59c16da2c604e60ca4d6e3ab33b5b91a029b6 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-02-15Bug fix: We are comparing an integer with a string“Manuel Buil”1-1/+1
The config file in SFC using this library was providing an integer whereas FUEL was providing a string. e.g. we were comparing 5 with '5' and thus the return was false Change-Id: I04c27403d479c45acd102a3dde848ba5b2427a10 Signed-off-by: “Manuel Buil” <mbuil@suse.com>
2017-02-15Fix ovs_logger to use correct opnfv_logger moduleGeorge Paraskevopoulos1-1/+1
Change-Id: I7c72a75324897231a583f38d424dedea42b20f3d Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-02-14[deployment_handler] Re-write node default string printoutjose.lausuch1-2/+15
example output: http://pastebin.com/raw/dm3SEA43 Change-Id: I06b4e08897e8303dd938749636e00ae193e91dca Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-14[deployment_handler] Add OVS version infojose.lausuch1-2/+9
Change-Id: I485f969dff29a2d1757ce56c62dda294f44341e2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-14[deployment handler] Add Roles and Status classesjose.lausuch3-30/+57
By doing this, we can handle roles and status as a list in the node object. Output: http://pastebin.com/raw/PAMrWRJi Change-Id: I0e3c7f375b19548a7e424e3257b84424c8fe4725 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-14[deployment handler] Add support for Clusters in Fueljose.lausuch4-86/+113
Fix minor apex issues. Output of example.py http://pastebin.com/raw/x70Uj85V Change-Id: I6013f5c4d916126f79afd40a6d6a35278c8ed26f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-14Fix flake8 violations in relengjose.lausuch6-11/+13
Change-Id: I45769ff9c9db2de9fbba69117a92de414dd7f651 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-09[deployment handler] Refactor the old installer_handlerjose.lausuch10-5/+629
This is a util library to interact with the deployment regardless of the installer. Objects: - Deployment - Node - DeploymentHandler - ApexAdapter - FuelAdapter - Factory The installer adapters implement some of the abstract functions of DeploymentHandler class that can't be generalized. Printout of example.py: http://pastebin.com/raw/SF3A1fee More info: JIRA: RELENG-149 Change-Id: I5c9e94459d5be0bfad6ffac29908a8cfc7ba919c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-06[deployment_handler] Remove current scriptsjose.lausuch14-609/+0
This work has been done from scratch following a better OO approach and better structured. The library is renamed by 'deploment handler' Change-Id: I7af2963ebb4e33d90481e91cabfc015718b0bb68 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-01-30Create Apex Adapterjose.lausuch4-20/+174
JIRA: RELENG-152 This implementation will help collect information from the deployment. For example: - overcloudrc file - files from the undercloud - files from the overcloud nodes (i.e. logs) Change-Id: I293837695a4b82e57b9fac6027fe8197d68b1f14 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-01-17propose a class in releng for constants (return values, installer names, ...)SerenaFeng1-0/+9
JIRA: RELENG-185 Change-Id: Iae566f42b77449778491b83aaf3d72ae120a6dd6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-01-12Add a new installer daisy adapter to modules directoryJing Sun5-3/+44
Change-Id: I9a46665941f8536f08d27a1c6d7e62f2a50ffbc2 Signed-off-by: Jing Sun <sun.jing22@zte.com.cn>
2016-12-13Merge "SSHUtils: Rename jumphost into proxy"Jose Lausuch2-37/+36
2016-12-12SSHUtils: Rename jumphost into proxyGeorge Paraskevopoulos2-37/+36
JIRA: SFC-61 Proxy is more clear than jumphost for most. Refactoring all the appearances. Change-Id: I7247d904046814c6e815c8e266637babf9445da7 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-12-12Add ovs_logger moduleGeorge Paraskevopoulos1-0/+118
JIRA: SFC-61 In SFC we have created a module to gather "ovs-vsctl show" and "ovs-ofctl dump-flows" information automatically. Releng is a more appropriate place for it, as it can be utilized by other projects to create artifacts with ovs logs when a testcase fails Change-Id: If6cf6a937532f7776f9b300ffdb2ab6c4fde82c8 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-11-22Merge "Add Exceptions and Constants in opnfv module"Morgan Richomme9-1/+258
2016-11-21Add Exceptions and Constants in opnfv moduleMorgan Richomme9-1/+258
JIRA: FUNCTEST-497 Change-Id: I4bc0d545058c4778b632911bb317789110de29d1 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-17Transform fetch_os_creds.sh into python Classjose.lausuch6-13/+144
JIRA: RELENG-168 Change-Id: Id5b1fca430c37917b554a54dd0678d9d7497dc11 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-16Add setup.py for common OPNFV modulesjose.lausuch2-2/+22
JIRA: RELENG-161 Change-Id: I2423493d0c9c9c4ce78fe8c2669b9ed24e697b58 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-16Move installer adapters to the new modules directoryjose.lausuch16-2/+606
JIRA: RELENG-149 JIRA: RELENG-161 Now that we have a modules directory in place, let's move all the shared python code to this location. We need to create a setup.py to install these modules in the system so that we don't have to modify the pythonpath. Change-Id: I7e608ce6e1e6b3d111405bc789cdb2ff7fcb49c3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-10-21Add directory for common python modules/toolsjose.lausuch4-0/+12
This dir might be used to add more common python tools (importable modules) that are of interest for the whole community. Change-Id: Iec99bd7c79f88d8722eb842faeee4046088d162f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154