Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Terraform Openstack
Manage
Activity
Members
Labels
Plan
Issues
10
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rc
Terraform Openstack
Commits
dfb4775f
"ansible/git@gitlab.rc.uab.edu:krish94/hpc-factory.git" did not exist on "0c0cadb44add1129fe07a7115f34da0cff4a57ad"
Commit
dfb4775f
authored
6 years ago
by
Ryan Randles Jones
Browse files
Options
Downloads
Patches
Plain Diff
Add new file
parent
dd217a8a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
network_create
+21
-0
21 additions, 0 deletions
network_create
with
21 additions
and
0 deletions
network_create
0 → 100644
+
21
−
0
View file @
dfb4775f
#!/bin/bash
# Create the dmz and cluster networks as the external and
# internal networks of the ohpc cluster
# create the dmz network for the head node to attach
openstack network create dmznet
openstack subnet create
--subnet-range
192.168.100.0/24
--dns-nameserver
8.8.8.8
--network
dmznet dmzsubnet
# connect dmz to the internet
openstack router create borderrouter
openstack router
set
borderrouter
--external-gateway
bright-external-flat-externalnet
openstack router add subnet borderrouter dmzsubnet
# create the cluster network for the compute nodes
openstack network create clusternet
openstack subnet create
--subnet-range
10.1.1.0/24
--no-dhcp
--network
clusternet clustersubnet
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment