def _get_columns(vnf_package_obj): column_map = { '_links': 'Links', 'onboardingState': 'Onboarding State', 'operationalState': 'Operational State', 'usageState': 'Usage State', 'userDefinedData': 'User Defined Data', 'id': 'ID' } if vnf_package_obj['onboardingState'] == 'ONBOARDED': column_map.update({ 'softwareImages': 'Software Images', 'vnfProvider': 'VNF Provider', 'vnfSoftwareVersion': 'VNF Software Version', 'vnfProductName': 'VNF Product Name', 'vnfdId': 'VNFD ID', 'vnfdVersion': 'VNFD Version' }) return sdk_utils.get_osc_show_columns_for_sdk_resource(vnf_package_obj, column_map)
def _get_columns(item): column_map = { 'tenant_id': 'project_id', } return sdk_utils.get_osc_show_columns_for_sdk_resource(item, column_map)
def _get_columns(item): column_map = { 'tenant_id': 'project_id', } return sdk_utils.get_osc_show_columns_for_sdk_resource(item, column_map)
def _get_columns(item): column_map = {} return sdk_utils.get_osc_show_columns_for_sdk_resource(item, column_map)
def _get_columns(item): column_map = {} return sdk_utils.get_osc_show_columns_for_sdk_resource(item, column_map)