From 5ee7ee4eb89909b7099e75538adca049651e67be Mon Sep 17 00:00:00 2001 From: Faiyaz Ahmed Date: Tue, 11 Dec 2007 18:39:51 +0000 Subject: [PATCH] Remove traces of old NM (3.3.x). --- db-config | 61 +++++++------------------------------------------------ 1 file changed, 7 insertions(+), 54 deletions(-) diff --git a/db-config b/db-config index 955a415..75b1275 100755 --- a/db-config +++ b/db-config @@ -250,53 +250,6 @@ def main(): 'ignore_cmd_errors': False, 'always_update': False}, - # XXX Required for old Node Manager - # Node Manager configuration - {'enabled': True, - 'source': 'PlanetLabConf/pl_nm.conf', - 'dest': '/etc/planetlab/pl_nm.conf', - 'file_permissions': '644', - 'file_owner': 'root', - 'file_group': 'root', - 'preinstall_cmd': '', - 'postinstall_cmd': '/etc/init.d/pl_nm restart', - 'error_cmd': '', - 'ignore_cmd_errors': False, - 'always_update': False}, - {'enabled': True, - 'source': 'PlanetLabConf/RootResources/plc_slice_pool.php', - 'dest': '/home/pl_nm/RootResources/plc_slice_pool', - 'file_permissions': '644', - 'file_owner': 'pl_nm', - 'file_group': 'pl_nm', - 'preinstall_cmd': '', - 'postinstall_cmd': '', - 'error_cmd': '', - 'ignore_cmd_errors': False, - 'always_update': False}, - {'enabled': True, - 'source': 'PlanetLabConf/RootResources/pl_conf.py', - 'dest': '/home/pl_nm/RootResources/pl_conf', - 'file_permissions': '644', - 'file_owner': 'pl_nm', - 'file_group': 'pl_nm', - 'preinstall_cmd': '', - 'postinstall_cmd': '/etc/init.d/pl_nm restart', - 'error_cmd': '', - 'ignore_cmd_errors': False, - 'always_update': False}, - {'enabled': True, - 'source': 'PlanetLabConf/RootResources/pl_netflow.py', - 'dest': '/home/pl_nm/RootResources/pl_netflow', - 'file_permissions': '644', - 'file_owner': 'pl_nm', - 'file_group': 'pl_nm', - 'preinstall_cmd': '', - 'postinstall_cmd': '', - 'error_cmd': '', - 'ignore_cmd_errors': False, - 'always_update': False}, - # XXX Required for old Node Manager # Proper configuration {'enabled': True, @@ -320,7 +273,7 @@ def main(): 'file_owner': 'root', 'file_group': 'root', 'preinstall_cmd': '', - 'postinstall_cmd': '/etc/init.d/pl_nm restart', + 'postinstall_cmd': '', 'error_cmd': '', 'ignore_cmd_errors': True, 'always_update': False}, @@ -808,9 +761,9 @@ Or, https://%(PLC_WWW_HOST)s:%(PLC_WWW_SSL_PORT)d/db/nodes/?id=%(node_id)d Under 'Download', follow the 'Download plnode.txt file for %(hostname)s' - option, and save the downloaded file as plnode.txt on either a floppy - disk or a USB flash drive. Be sure the 'Boot State' is set to 'Boot', - and, then reboot the node. + option, and save the downloaded file as plnode.txt on either a floppy + disk or a USB flash drive. Be sure the 'Boot State' is set to 'Boot', + and, then reboot the node. If you have already performed this step and are still receiving this message, please reply so that we can help investigate the problem. @@ -897,9 +850,9 @@ message, please reply so that we may investigate the problem. ] for template in message_templates: - messages = GetMessages([template['message_id']]) - if not messages: - AddMessage(template) + messages = GetMessages([template['message_id']]) + if not messages: + AddMessage(template) if __name__ == '__main__': main() -- 2.43.0