mfcom
0.7
Table of Contents
1. Introduction to MFCOM
2. How to configure the metwork yum repository ?
3. How to install/upgrade/remove mfcom metwork module (with internet access)
4. How to configure mfcom metwork package ?
5. MFUTIL API
5.1. mfutil Package
5.2. mfutil.net Module
5.3. mfutil.plugins Module
5.3.1. Functions
5.3.1.1. build_plugin
5.3.1.2. develop_plugin
5.3.1.3. get_installed_plugins
5.3.1.4. get_layer_home_from_plugin_name
5.3.1.5. get_plugin_hash
5.3.1.6. get_plugin_info
5.3.1.7. get_plugin_lock_path
5.3.1.8. get_plugins_base_dir
5.3.1.9. init_plugins_base
5.3.1.10. inside_a_plugin_env
5.3.1.11. install_plugin
5.3.1.12. is_dangerous_plugin
5.3.1.13. is_plugins_base_initialized
5.3.1.14. layerapi2_label_file_to_plugin_name
5.3.1.15. layerapi2_label_to_plugin_name
5.3.1.16. plugin_name_to_layerapi2_label
5.3.1.17. uninstall_plugin
5.3.1.18. validate_plugin_name
5.3.2. Classes
5.3.3. Variables
5.3.4. Class Inheritance Diagram
5.4. mfutil.cli Module
5.5. mfutil.layerapi2 Module
6. CIRCUS HOOKS API
7. Layer root
8. Layer python2
9. Layer python3
10. Layer default
11. TODO List
12. CHANGELOGs
Index
Module Index
mfcom
Docs
»
5. MFUTIL API
»
5.3.1.18. validate_plugin_name
Edit on GitHub
5.3.1.18. validate_plugin_name
¶
mfutil.plugins.
validate_plugin_name
(
plugin_name
)
[source]
¶
Validate a plugin name.
Parameters:
plugin_name
(
string
) – the plugin name to validate.
Returns:
(True, None) if the plugin name is ok,
(False, “error message”) if the plugin name is not ok.
Return type:
(boolean, message)