2929
3030
3131def get_file_security_permissions (cluster : str , headers_inc : str ):
32- """ Retrieving summary of all portsets in the cluster """
32+ """ Retrieving file security permissions """
3333 print ()
3434 print ("=======================================" )
3535 print (" Getting File Security Permissions " )
@@ -261,9 +261,9 @@ def patch_file_permissions(cluster: str, headers_inc: str):
261261def file_permissions (cluster : str , headers_inc : str ):
262262 """Demonstrates File security permission operations"""
263263 print ()
264- print ("THE FOLLOWING SCRIPT SHOWS PORTSET OPERATIONS USING REST API." )
264+ print ("THE SCRIPT SHOWS FILE SECURITY PERMISSIONS USING REST API." )
265265 print ("==================================================================" )
266- print ("Choose the Portset operation?" )
266+ print ("Choose the operation?" )
267267 snapshotbool = input (
268268 "\n 1.list \n 2.create \n 3.update \n 4.delete \n \n [enter option]: " )
269269 if snapshotbool == '1' :
@@ -281,7 +281,7 @@ def main() -> None:
281281 arguments = [
282282 Argument ("-c" , "--cluster" , "API server IP:port details" )]
283283 args = parse_args (
284- "Demonstrates Snapshot Operations using REST API." , arguments ,
284+ "Demonstrates file security Operations using REST API." , arguments ,
285285 )
286286 setup_logging ()
287287 headers = setup_connection (args .api_user , args .api_pass )
0 commit comments