[PR] Add some features [cloudstack-csbench]

2023-12-26 Thread via GitHub


vishesh92 opened a new pull request, #7:
URL: https://github.com/apache/cloudstack-csbench/pull/7

   This PR adds the following features:
   1. Allow benchmark of resources during teardown
   2. Add pagination while listing resources (Fixes #3)
   3. Implement `vmaction` in config which allows to set the state of VMs while 
creating VMs
   4. Allow networks to be configurable


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Add some features [cloudstack-csbench]

2023-12-26 Thread via GitHub


rohityadavcloud commented on code in PR #7:
URL: https://github.com/apache/cloudstack-csbench/pull/7#discussion_r1436379019


##
config/config:
##
@@ -7,28 +7,35 @@ page = 0
 # Max number of items to return per API call
 pagesize = 500
 # Zone to use for VMs. Used only for -create
-zoneid = d6beefe6-655e-4980-a7fe-b8e954d37029
+zoneid = 14f5f13d-06b7-4b78-bae9-f00c8e881abc
 # Template to use for VMs. Used only for -create
-templateid = 5b958213-73d9-11ee-8150-7404f10c2178
+templateid = 583e9600-9fed-11ee-8fa0-7404f10c2178
 # Service offering to use for VMs. Used only for -create
-serviceofferingid = 39f91d73-0491-43e6-9d2a-1731de959044
+serviceofferingid = 2e7419e0-8cc8-46e8-a4f9-eac3d5852d0c
 # Disk offering to use for volumes. Used only for -create
-diskofferingid = d645f7ff-0a4d-4c34-a127-74bc1b61777a
+diskofferingid = 2916d458-f686-4404-8a00-3704da0ee5b5
 # Shared network offering ID. Used only for -create
-networkofferingid = b3161697-b891-4708-ab10-696c44472764
+networkofferingid = 3e0e6640-93ca-4429-9e9a-50545db793ad
 # Domain ID of the parent domain to create the subdomains under. Used only for 
-create
-parentdomainid = e46a3820-9e3e-11ee-8fa0-7404f10c2178
+parentdomainid = e24ab778-9fec-11ee-8fa0-7404f10c2178
 # Number of domains to create. Creates a shared network for each domain. Used 
only for -create
-numdomains = 2
+numdomains = 5
+# Number of networks to create per domain. Used only for -create
+numnetworks = 1
+subnet = 10.0.0.0
+submask = 22
+vlanrange = 80-1000

Review Comment:
   Can you also add new config/options in the README?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Add some features [cloudstack-csbench]

2023-12-26 Thread via GitHub


rohityadavcloud commented on code in PR #7:
URL: https://github.com/apache/cloudstack-csbench/pull/7#discussion_r1436379174


##
config/config:
##
@@ -7,28 +7,35 @@ page = 0
 # Max number of items to return per API call
 pagesize = 500
 # Zone to use for VMs. Used only for -create
-zoneid = d6beefe6-655e-4980-a7fe-b8e954d37029
+zoneid = 14f5f13d-06b7-4b78-bae9-f00c8e881abc
 # Template to use for VMs. Used only for -create
-templateid = 5b958213-73d9-11ee-8150-7404f10c2178
+templateid = 583e9600-9fed-11ee-8fa0-7404f10c2178
 # Service offering to use for VMs. Used only for -create
-serviceofferingid = 39f91d73-0491-43e6-9d2a-1731de959044
+serviceofferingid = 2e7419e0-8cc8-46e8-a4f9-eac3d5852d0c
 # Disk offering to use for volumes. Used only for -create
-diskofferingid = d645f7ff-0a4d-4c34-a127-74bc1b61777a
+diskofferingid = 2916d458-f686-4404-8a00-3704da0ee5b5
 # Shared network offering ID. Used only for -create
-networkofferingid = b3161697-b891-4708-ab10-696c44472764
+networkofferingid = 3e0e6640-93ca-4429-9e9a-50545db793ad
 # Domain ID of the parent domain to create the subdomains under. Used only for 
-create
-parentdomainid = e46a3820-9e3e-11ee-8fa0-7404f10c2178
+parentdomainid = e24ab778-9fec-11ee-8fa0-7404f10c2178
 # Number of domains to create. Creates a shared network for each domain. Used 
only for -create
-numdomains = 2
+numdomains = 5
+# Number of networks to create per domain. Used only for -create
+numnetworks = 1
+subnet = 10.0.0.0
+submask = 22
+vlanrange = 80-1000
 # Number of VMs to create per domain. Used only for -create
-numvms = 2
+numvms = 1
+# Whether to start the VMs after creation. Used only for -create
+startvm = true
 # Number of volumes to create & attach per VM. Used only for -create
-numvolumes = 2
+numvolumes = 1
 
 # Credentials to use to run -benchmark & -create. Name should be "admin" for 
-create
 [admin]
-apikey = 
x2glnzn09L_gCU5LFxz_2ph7RNZQ81HPrQlRiHKDv1TnjaJAoyNnhPZR65YM_mxj2YSaKLKTFPM_849EaVg2dg
-secretkey = 
BYAJ3_K_voCLE2CBbmweZu5dUmGCokshMg9xFb9qabOogkBPS8ARk6djrQT8w-XAsiDTDMUBYBmQsYqXeuaMKA
+apikey = 
_QtHyvUyoVvwQKJ8dPtW7fRsdgenXWO0PyjkKyo1D8CHCMSNIMEYmOJUe57_y7JXB3OKJXF3QgZPNy80F4w1yg

Review Comment:
   Should these be left blank?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Add some features [cloudstack-csbench]

2023-12-26 Thread via GitHub


vishesh92 commented on code in PR #7:
URL: https://github.com/apache/cloudstack-csbench/pull/7#discussion_r1436390568


##
config/config:
##
@@ -7,28 +7,35 @@ page = 0
 # Max number of items to return per API call
 pagesize = 500
 # Zone to use for VMs. Used only for -create
-zoneid = d6beefe6-655e-4980-a7fe-b8e954d37029
+zoneid = 14f5f13d-06b7-4b78-bae9-f00c8e881abc
 # Template to use for VMs. Used only for -create
-templateid = 5b958213-73d9-11ee-8150-7404f10c2178
+templateid = 583e9600-9fed-11ee-8fa0-7404f10c2178
 # Service offering to use for VMs. Used only for -create
-serviceofferingid = 39f91d73-0491-43e6-9d2a-1731de959044
+serviceofferingid = 2e7419e0-8cc8-46e8-a4f9-eac3d5852d0c
 # Disk offering to use for volumes. Used only for -create
-diskofferingid = d645f7ff-0a4d-4c34-a127-74bc1b61777a
+diskofferingid = 2916d458-f686-4404-8a00-3704da0ee5b5
 # Shared network offering ID. Used only for -create
-networkofferingid = b3161697-b891-4708-ab10-696c44472764
+networkofferingid = 3e0e6640-93ca-4429-9e9a-50545db793ad
 # Domain ID of the parent domain to create the subdomains under. Used only for 
-create
-parentdomainid = e46a3820-9e3e-11ee-8fa0-7404f10c2178
+parentdomainid = e24ab778-9fec-11ee-8fa0-7404f10c2178
 # Number of domains to create. Creates a shared network for each domain. Used 
only for -create
-numdomains = 2
+numdomains = 5
+# Number of networks to create per domain. Used only for -create
+numnetworks = 1
+subnet = 10.0.0.0
+submask = 22
+vlanrange = 80-1000
 # Number of VMs to create per domain. Used only for -create
-numvms = 2
+numvms = 1
+# Whether to start the VMs after creation. Used only for -create
+startvm = true
 # Number of volumes to create & attach per VM. Used only for -create
-numvolumes = 2
+numvolumes = 1
 
 # Credentials to use to run -benchmark & -create. Name should be "admin" for 
-create
 [admin]
-apikey = 
x2glnzn09L_gCU5LFxz_2ph7RNZQ81HPrQlRiHKDv1TnjaJAoyNnhPZR65YM_mxj2YSaKLKTFPM_849EaVg2dg
-secretkey = 
BYAJ3_K_voCLE2CBbmweZu5dUmGCokshMg9xFb9qabOogkBPS8ARk6djrQT8w-XAsiDTDMUBYBmQsYqXeuaMKA
+apikey = 
_QtHyvUyoVvwQKJ8dPtW7fRsdgenXWO0PyjkKyo1D8CHCMSNIMEYmOJUe57_y7JXB3OKJXF3QgZPNy80F4w1yg

Review Comment:
   Added these in the config as a sample. Reverted the change for now.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Improvement issue for AutoScale VM Groups with Terraform. [cloudstack-terraform-provider]

2023-12-26 Thread via GitHub


palashbiswas-git commented on issue #75:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/75#issuecomment-1869912271

   Hi @rohityadavcloud 
   Could you please take it as an improvement plan for AutoScale VM Groups with 
Terraform? Thank you.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org