conga/luci cluster/cluster_svc-macros cluster/ ...
CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL5
Changes by: rmccabe at sourceware.org 2011-02-25 15:54:34
Modified files:
luci/cluster : cluster_svc-macros fence-macros
resource-form-macros resource_form_handlers.js validate_fence.js
luci/site/luci/Extensions: FenceHandler.py LuciClusterInfo.py
ResourceHandler.py
luci/site/luci/Extensions/ClusterModel: FenceDeviceAttr.py
ModelBuilder.py
Added files:
luci/site/luci/Extensions/ClusterModel: OracleInstance.py
OracleListener.py
Log message:
Sync up with upstream
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/cluster_svc-macros.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.3.2.12&r2=1.3.2.13
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/fence-macros.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.2.2.18&r2=1.2.2.19
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/resource-form-macros.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.21.2.18&r2=1.21.2.19
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/resource_form_handlers.js.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.20.2.19&r2=1.20.2.20
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/validate_fence.js.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.2.14&r2=1.1.2.15
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/FenceHandler.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.4.2.23&r2=1.4.2.24
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/LuciClusterInfo.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.4.20&r2=1.1.4.21
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ResourceHandler.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.4.10&r2=1.1.4.11
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/OracleInstance.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/OracleListener.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/FenceDeviceAttr.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.5.2.5&r2=1.5.2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/ModelBuilder.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.4.16&r2=1.1.4.17
luci/cluster/cluster_svc-macros +6 -0
@@ -554,6 +554,12 @@ <tal:block tal:condition="python: type == 'oracledb'"> <div metal:use-macro="here/resource-form-macros/macros/oracledb_macro" /> </tal:block> + <tal:block tal:condition="python: type == 'oralistener'"> + <div metal:use-macro="here/resource-form-macros/macros/oralistener_macro" /> + </tal:block> + <tal:block tal:condition="python: type == 'orainstance'"> + <div metal:use-macro="here/resource-form-macros/macros/orainstance_macro" /> + </tal:block> </div> <div metal:define-macro="failover-prefs-macro" tal:omit-tag="">
luci/cluster/fence-macros +156 -15
241 lines not on this page · raw message
luci/cluster/resource-form-macros +174 -0
204 lines not on this page · raw message
luci/cluster/resource_form_handlers.js +2 -0
@@ -307,6 +307,8 @@ form_validators['SAPDatabase'] = validate_sapdatabase; form_validators['ASEHAagent'] = validate_sybase; form_validators['oracledb'] = validate_oracle; +form_validators['orainstance'] = validate_oracle; +form_validators['oralistener'] = validate_oracle; function check_form(form) { var valfn = form_validators[form.type.value];
luci/cluster/validate_fence.js +4 -2
@@ -24,7 +24,8 @@ fence_inst_validator['vmware'] = [ 'port' ]; fence_inst_validator['cisco_mds'] = [ 'port' ]; fence_inst_validator['ifmib'] = [ 'port' ]; -fence_inst_validator['ucs'] = [ 'port' ]; +fence_inst_validator['cisco_ucs'] = [ 'port' ]; +fence_inst_validator['rhevm'] = [ 'port' ]; var fence_validator = []; fence_validator['apc'] = [ 'ipaddr', 'login', 'passwd', 'passwd_script' ];
@@ -50,7 +51,8 @@ fence_validator['lpar'] = [ 'ipaddr', 'login', 'passwd', 'passwd_script' ]; fence_validator['cisco_mds'] = [ 'ipaddr', 'login', 'passwd', 'passwd_script' ]; fence_validator['ifmib'] = [ 'ipaddr', 'login', 'passwd', 'passwd_script' ]; -fence_validator['ucs'] = [ 'ipaddr', 'login', 'passwd', 'passwd_script' ]; +fence_validator['cisco_ucs'] = [ 'ipaddr', 'login', 'passwd', 'passwd_script' ]; +fence_validator['rhevm'] = [ 'ipaddr', 'login', 'passwd', 'passwd_script' ]; fence_validator['vmware'] = [ 'ipaddr', 'login', 'passwd', 'passwd_script', 'vmlogin' ]; fence_validator['xvm'] = [];
luci/site/luci/Extensions/FenceHandler.py +110 -4
138 lines not on this page · raw message
luci/site/luci/Extensions/LuciClusterInfo.py +3 -0
@@ -606,6 +606,7 @@ clumap['sap_agent_v19'] = False clumap['has_qemu'] = False clumap['has_sybase_agent'] = False + clumap['has_split_oracle_agents'] = False try: cluster_os = model.getClusterOS() if cluster_os.find('Tikanga') != -1:
@@ -622,6 +623,8 @@ if os_minor > 3: clumap['sap_agent_v19'] = True clumap['has_qemu'] = True + if os_minor > 5: + clumap['has_split_oracle_agents'] = True elif cluster_os.find('Nahant') != -1: clumap['os_major'] = 4 os_minor = int(cluster_os[cluster_os.find('Update ') + 7])
luci/site/luci/Extensions/ResourceHandler.py +40 -18
71 lines not on this page · raw message
luci/site/luci/Extensions/ClusterModel/FenceDeviceAttr.py +9 -4
@@ -32,8 +32,9 @@ 'fence_rps10': 'RPS10 Serial Switch', 'fence_lpar': 'LPAR Fencing', 'fence_vmware': 'VMware Fencing', + 'fence_rhevm': 'RHEV-M Fencing', 'fence_cisco_mds': 'Cisco MDS', - 'fence_ucs': 'Cisco UCS', + 'fence_cisco_ucs': 'Cisco UCS', 'fence_ifmib': 'IF MIB', 'fence_manual': 'Manual Fencing' }
@@ -53,8 +54,9 @@ 'fence_scsi': True, 'fence_lpar': True, 'fence_vmware': True, + 'fence_rhevm': True, 'fence_cisco_mds': True, - 'fence_ucs': True, + 'fence_cisco_ucs': True, 'fence_ifmib': True, 'fence_ilo': False, 'fence_ilo_mp': False,
@@ -100,8 +102,9 @@ 'fence_scsi': ( 'node' ), 'fence_lpar': ( 'partition' ), 'fence_vmware': ( 'port' ), + 'fence_rhevm': ( 'port' ), 'fence_cisco_mds': ( 'port' ), - 'fence_ucs': ( 'port' ), + 'fence_cisco_ucs': ( 'port' ), 'fence_ifmib': ( 'port' ), 'fence_ilo': ( ), 'fence_ipmilan': ( ),
@@ -138,9 +141,11 @@ ( 'name', 'ipaddr', 'login', 'passwd' ), 'fence_vmware': ( 'name', 'ipaddr', 'login', 'passwd', 'vmlogin', 'vmpasswd' ), + 'fence_rhevm': + ( 'name', 'ipaddr', 'login', 'passwd' ), 'fence_cisco_mds': ( 'name', 'ipaddr', 'login', 'passwd' ), - 'fence_ucs': + 'fence_cisco_ucs': ( 'name', 'ipaddr', 'login', 'passwd' ), 'fence_ifmib': ( 'name', 'ipaddr', 'login', 'passwd' ),
luci/site/luci/Extensions/ClusterModel/ModelBuilder.py +4 -0
@@ -35,6 +35,8 @@ from SAPInstance import SAPInstance from SybaseASE import SybaseASE from OracleDB import OracleDB +from OracleInstance import OracleInstance +from OracleListener import OracleListener from Multicast import Multicast from FenceDaemon import FenceDaemon from FenceXVMd import FenceXVMd
@@ -97,6 +99,8 @@ 'SAPInstance': SAPInstance, 'ASEHAagent': SybaseASE, 'oracledb': OracleDB, + 'orainstance': OracleInstance, + 'oralistener': OracleListener, 'device': Device }