mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-02 20:02:29 +01:00 
			
		
		
		
	Add cluster-level parameters
This commit is contained in:
		
							parent
							
								
									019e8cd0ff
								
							
						
					
					
						commit
						59d0541bac
					
				@ -5397,7 +5397,6 @@
 | 
			
		||||
                      },
 | 
			
		||||
                      actions: {
 | 
			
		||||
                        edit: function(args) {
 | 
			
		||||
                          debugger;
 | 
			
		||||
                          // call updateZoneLevelParamter
 | 
			
		||||
                          args.response.success();
 | 
			
		||||
                        }
 | 
			
		||||
@ -8800,6 +8799,27 @@
 | 
			
		||||
                    });
 | 
			
		||||
                  }
 | 
			
		||||
                }
 | 
			
		||||
              },
 | 
			
		||||
 | 
			
		||||
              // Granular settings for cluster
 | 
			
		||||
              settings: {
 | 
			
		||||
                title: 'label.menu.global.settings',
 | 
			
		||||
                custom: cloudStack.uiCustom.granularSettings({
 | 
			
		||||
                  dataProvider: function(args) {
 | 
			
		||||
                    args.response.success({
 | 
			
		||||
                      data: [
 | 
			
		||||
                        { name: 'config.param.1', value: 1 },
 | 
			
		||||
                        { name: 'config.param.2', value: 2 }
 | 
			
		||||
                      ]
 | 
			
		||||
                    });
 | 
			
		||||
                  },
 | 
			
		||||
                  actions: {
 | 
			
		||||
                    edit: function(args) {
 | 
			
		||||
                      // call updateClusterLevelParameters
 | 
			
		||||
                      args.response.success();
 | 
			
		||||
                    }
 | 
			
		||||
                  }
 | 
			
		||||
                })
 | 
			
		||||
              }
 | 
			
		||||
            }
 | 
			
		||||
          }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user