@@ -1050,6 +1050,32 @@ let rec cmdtable_data : (string * cmd_spec) list =
1050
1050
; flags= [Host_selectors ]
1051
1051
}
1052
1052
)
1053
+ ; ( " host-enable-ssh"
1054
+ , {
1055
+ reqd= []
1056
+ ; optn= []
1057
+ ; help=
1058
+ " Enable SSH access on the host. It will start the service sshd only \
1059
+ if it is not running. It will also enable the service sshd only if \
1060
+ it is not enabled. A newly joined host in the pool or an ejected \
1061
+ host from the pool would keep the original status."
1062
+ ; implementation= No_fd Cli_operations. host_enable_ssh
1063
+ ; flags= [Host_selectors ]
1064
+ }
1065
+ )
1066
+ ; ( " host-disable-ssh"
1067
+ , {
1068
+ reqd= []
1069
+ ; optn= []
1070
+ ; help=
1071
+ " Disable SSH access on the host. It will stop the service sshd only \
1072
+ if it is running. It will also disable the service sshd only if it \
1073
+ is enabled. A newly joined host in the pool or an ejected host from \
1074
+ the pool would keep the original status."
1075
+ ; implementation= No_fd Cli_operations. host_disable_ssh
1076
+ ; flags= [Host_selectors ]
1077
+ }
1078
+ )
1053
1079
; ( " host-emergency-clear-mandatory-guidance"
1054
1080
, {
1055
1081
reqd= []
@@ -3107,6 +3133,28 @@ let rec cmdtable_data : (string * cmd_spec) list =
3107
3133
; flags= []
3108
3134
}
3109
3135
)
3136
+ ; ( " pool-enable-ssh"
3137
+ , {
3138
+ reqd= []
3139
+ ; optn= []
3140
+ ; help=
3141
+ " Enable SSH access on all hosts in the pool. It's a helper which \
3142
+ calls host.enable_ssh for all the hosts in the pool."
3143
+ ; implementation= No_fd Cli_operations. pool_enable_ssh
3144
+ ; flags= []
3145
+ }
3146
+ )
3147
+ ; ( " pool-disable-ssh"
3148
+ , {
3149
+ reqd= []
3150
+ ; optn= []
3151
+ ; help=
3152
+ " Disable SSH access on all hosts in the pool. It's a helper which \
3153
+ calls host.disable_ssh for all the hosts in the pool."
3154
+ ; implementation= No_fd Cli_operations. pool_disable_ssh
3155
+ ; flags= []
3156
+ }
3157
+ )
3110
3158
; ( " host-ha-xapi-healthcheck"
3111
3159
, {
3112
3160
reqd= []
0 commit comments