Skip to content

Commit

Permalink
Some small changes in the location of files
Browse files Browse the repository at this point in the history
  • Loading branch information
wessenstam committed May 22, 2019
1 parent 309a28a commit c007ddb
Show file tree
Hide file tree
Showing 15 changed files with 116 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ logs/
master.zip
original.release.json
stageworkshop-master/
venv/
.idea/
Binary file removed logserver/__pycache__/webserver.cpython-34.pyc
Binary file not shown.
Binary file removed logserver/__pycache__/webserver.cpython-36.pyc
Binary file not shown.
11 changes: 0 additions & 11 deletions nodemanager/package.json

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
114 changes: 114 additions & 0 deletions test/restapi.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
#######################################################################################################
# EULA acceptance
#######################################################################################################
curl ${CURL_POST_OPTS} --user ${PRISM_ADMIN}:${PE_PASSWORD} -X POST --data '{
"username": "SE with $(basename ${0})",
"companyName": "Nutanix",
"jobTitle": "SE"
}' https://localhost:9440/PrismGateway/services/rest/v1/eulas/accept


#######################################################################################################
# Disable Pulse
#######################################################################################################
curl ${CURL_POST_OPTS} --user ${PRISM_ADMIN}:${PE_PASSWORD} -X PUT --data '{
"defaultNutanixEmail": null,
"emailContactList": null,
"enable": false,
"enableDefaultNutanixEmail": false,
"isPulsePromptNeeded": false,
"nosVersion": null,
"remindLater": null,
"verbosityType": null
}' https://localhost:9440/PrismGateway/services/rest/v1/pulse




#######################################################################################################
# Set Dataservices - PE
#######################################################################################################



#######################################################################################################
# Set NTP servers - PE
#######################################################################################################



#######################################################################################################
# Rename the default storage pool to SP01
#######################################################################################################



#######################################################################################################
# Create a Storage Container Images if not exist
#######################################################################################################



#######################################################################################################
# Create two networks (Primary and Secondary)
#######################################################################################################
curl -X POST \
https://10.42.9.37:9440/api/nutanix/v0.8/networks \
-H 'Content-Type: application/json' \
-H 'Postman-Token: 836ee60b-0398-456b-967b-7221c3355545' \
-H 'cache-control: no-cache' \
-d '{"name":"VLAN30","vlanId":"30","ipConfig":{"dhcpOptions":{"domainNameServers":"8.8.8.8","domainSearch":"ntx-demo.local","domainName":"ntnx-demo.local"},"networkAddress":"10.10.30.0","prefixLength":"24","defaultGateway":"10.10.30.254","pool":[{"range":"10.10.30.100 10.10.30.200"}]}}
'


#######################################################################################################
# Upload the right AutoDC version
#######################################################################################################



#######################################################################################################
# Install, Configure and start the AutoDC
#######################################################################################################



#######################################################################################################
# Configure the AutoDC's DNS server
#######################################################################################################



#######################################################################################################
# Authentication PE to the installed DC
#######################################################################################################



#######################################################################################################
# Create role mapping
#######################################################################################################



#######################################################################################################
# Upload PC files to be used - PE
#######################################################################################################



#######################################################################################################
# Deploy PC
#######################################################################################################



#######################################################################################################
# Register PE to PC
#######################################################################################################



#######################################################################################################
# Upload Nutanix Files files
#######################################################################################################

0 comments on commit c007ddb

Please sign in to comment.