Skip to content

Commit

Permalink
removed interface attribute from example/demo fab files and used netw…
Browse files Browse the repository at this point in the history
…ork attr in node
  • Loading branch information
abessiari committed May 16, 2024
1 parent 013cea4 commit 39115fb
Show file tree
Hide file tree
Showing 24 changed files with 37 additions and 24 deletions.
2 changes: 1 addition & 1 deletion config/chi_to_fabric_stitching.fab
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ resource:
- fabric_network:
provider: '{{ fabric.fabric_provider }}'
stitch_with: '{{ network.chi_network }}'
interface: '{{ node.fabric_node }}'
layer3: "{{ layer3.my_layer }}"
- node:
- fabric_node:
provider: '{{ fabric.fabric_provider }}'
site: '{{ var.fabric_site }}'
count: 1
image: default_rocky_8
network: '{{ network.fabric_network }}'
# nic_model: NIC_ConnectX_5. Defaults to NIC_Basic
- chi_node:
provider: '{{ chi.chi_provider }}'
Expand Down
2 changes: 1 addition & 1 deletion examples/aws/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ resource:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.fab_layer }}"
peering: "{{ peering.my_peering }}"
interface: '{{ node.fabric_node }}'
count: 1
- node:
- fabric_node:
provider: '{{ fabric.fabric_provider }}'
site: MAX # Use RENC when deploying to fabric beta environment
image: default_rocky_8
count: 1
network: '{{ network.fabric_network }}'
nic_model: NIC_Basic
2 changes: 1 addition & 1 deletion examples/cloudlab/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ resource:
- fabric_network:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.my_layer }}"
interface: '{{ node.fabric_node }}'
stitch_with: '{{ network.cnet }}'
- node:
- fabric_node:
provider: '{{ fabric.fabric_provider }}'
site: UTAH # CLEM # UTAH
image: default_rocky_8
nic_model: NIC_Basic
network: "{{ network.fabric_network }}"
count: 1
- cnode:
provider: '{{ cloudlab.cloudlab_provider }}'
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/cloudlab/clem/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ resource:
provider: '{{ fabric.fabric_provider }}'
image: default_rocky_8
nic_model: NIC_Basic
network: "{{ network.fabric_network }}"
count: 1
- network:
- fabric_network:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.my_layer }}"
interface: '{{ node.fabric_node }}'
stitch_with: '{{ network.cnet }}'
stitch_option:
device_name: CloudLab-Clemson
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/cloudlab/utah/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ resource:
provider: '{{ fabric.fabric_provider }}'
image: default_rocky_8
nic_model: NIC_Basic
network: "{{ network.fabric_network }}"
count: 1
- network:
- fabric_network:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.my_layer }}"
interface: '{{ node.fabric_node }}'
stitch_with: '{{ network.cnet }}'
stitch_option:
site: UTAH
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/native-aws/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ resource:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.fab_layer }}"
peering: "{{ peering.my_peering }}"
interface: '{{ node.fabric_node }}'
count: 1
- node:
- fabric_node:
provider: '{{ fabric.fabric_provider }}'
site: MAX # Use RENC when deploying to fabric beta environment
image: default_rocky_8
network: '{{ network.fabric_network }}'
count: 1
nic_model: NIC_Basic
2 changes: 1 addition & 1 deletion examples/demos/native-gcp/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ resource:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.fab_layer }}"
peering: "{{ peering.my_peering }}"
interface: '{{ node.fabric_node }}'
count: 1
- node:
- fabric_node:
provider: '{{ fabric.fabric_provider }}'
site: MAX
image: default_rocky_8
network: '{{ network.fabric_network }}'
count: 1
nic_model: NIC_Basic
2 changes: 1 addition & 1 deletion examples/demos/sense-aws/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ resource:
site: MAX # Use RENC when deploying to fabric beta environment
image: default_rocky_8
count: 1
network: "{{ network.fabric_network }}"
nic_model: NIC_Basic
- network:
- sense_net:
Expand All @@ -65,7 +66,6 @@ resource:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.fab_layer }}"
peering: "{{ peering.my_peering }}"
interface: '{{ node.fabric_node }}'
count: 1

- service:
Expand Down
2 changes: 1 addition & 1 deletion examples/demos/sense-gcp/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ resource:
provider: '{{ fabric.fabric_provider }}'
site: MAX
image: default_rocky_8
network: "{{ network.fabric_network }}"
count: 1
nic_model: NIC_Basic
- network:
Expand All @@ -66,7 +67,6 @@ resource:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.fab_layer }}"
peering: "{{ peering.my_peering }}"
interface: '{{ node.fabric_node }}'
count: 1
- service:
- dtn_service:
Expand Down
3 changes: 2 additions & 1 deletion examples/fabric_l2sts/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ resource:
image: default_rocky_8
nic_model: NIC_Basic
site: MAX
network: '{{ network.fabric_network }}'
flavor: {'cores': 2, 'ram': 8, 'disk': 10}
- bnode:
provider: '{{ fabric.fabric_provider }}'
site: WASH
network: '{{ network.fabric_network }}'
image: default_rocky_8
- network:
- fabric_network:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.my_layer }}"
interface: [ '{{ node.anode }}', '{{ node.bnode }}' ]
2 changes: 1 addition & 1 deletion examples/gcp/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ resource:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.fab_layer }}"
peering: "{{ peering.my_peering }}"
interface: '{{ node.fabric_node }}'
count: 1
- node:
- fabric_node:
provider: '{{ fabric.fabric_provider }}'
site: MAX
image: default_rocky_8
network: '{{ network.fabric_network }}'
count: 1
nic_model: NIC_Basic
2 changes: 1 addition & 1 deletion examples/sense-aws/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ resource:
image: default_rocky_8
count: 1
nic_model: NIC_Basic
network: "{{ network.fabric_network }}"
- network:
- sense_net:
provider: '{{ sense.sense_provider }}'
Expand All @@ -59,5 +60,4 @@ resource:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.fab_layer }}"
peering: "{{ peering.my_peering }}"
interface: '{{ node.fabric_node }}'
count: 1
2 changes: 1 addition & 1 deletion examples/sense-gcp/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ resource:
site: MAX
image: default_rocky_8
count: 1
network: "{{ network.fabric_network }}"
nic_model: NIC_Basic
- network:
- sense_net:
Expand All @@ -66,7 +67,6 @@ resource:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.fab_layer }}"
peering: "{{ peering.my_peering }}"
interface: '{{ node.fabric_node }}'
count: 1
- service:
- dtn_service:
Expand Down
2 changes: 1 addition & 1 deletion examples/sense-l2-dtn/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ resource:
site: RENC
image: default_rocky_8
nic_model: NIC_Basic
network: '{{ network.fabric_network }}'
- network:
- fabric_network:
provider: '{{ fabric.fabric_provider }}'
# site: UKY
layer3: "{{ layer3.my_layer }}"
interface: '{{ node.fabric_node }}'
stitch_with: '{{ network.net1 }}' # 852 to 855
stitch_option:
# profile: 'FABRIC-L2-DTN'
Expand Down
2 changes: 1 addition & 1 deletion examples/service/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ resource:
- fabric_network:
provider: '{{ fabric.fabric_provider }}'
stitch_with: '{{ network.chi_network }}'
interface: '{{ node.fabric_node }}'
layer3: "{{ layer3.my_layer }}"
count: 1

Expand All @@ -57,6 +56,7 @@ resource:
provider: '{{ fabric.fabric_provider }}'
image: default_rocky_8
nic_model: NIC_ConnectX_5
network: '{{ network.fabric_network }}'
count: 1

- chi_node:
Expand Down
1 change: 0 additions & 1 deletion examples/stitch/networks.fab
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ resource:
- fabric_network:
provider: '{{ fabric.fabric_provider }}'
stitch_with: '{{ network.chi_network }}'
interface: '{{ node.fabric_node }}'
layer3: "{{ layer3.my_layer }}"
count: 1
11 changes: 10 additions & 1 deletion examples/stitch/nodes.fab
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,19 @@ resource:
count: 1
image: default_rocky_8
nic_model: NIC_Basic
network: '{{ network.fabric_network }}'

- chi_node:
provider: '{{ chi.chi_provider }}'
image: CC-Ubuntu20.04
network: '{{ network.chi_network }}'
count: 2
count: 1
flavor: m1.medium
- service:
- dtn_service:
provider: '{{ janus.janus_provider }}'
node: [ '{{ node.chi_node }}', '{{ node.fabric_node }}' ]
controller: '{{ node.fabric_node }}'
image: dtnaas/tools
profile: fabfed
count: 0
5 changes: 5 additions & 0 deletions examples/stitch/providers.fab
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ provider:
- chi_provider:
credential_file: ~/.fabfed/fabfed_credentials.yml
profile: chi
- janus:
- janus_provider:
credential_file: ~/.fabfed/fabfed_credentials.yml
profile: janus

2 changes: 1 addition & 1 deletion jupyter/examples/chameleon/tacc/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ resource:
layer3: "{{ layer3.my_layer }}"
- fabric_network:
provider: '{{ fabric.fabric_provider }}'
interface: '{{ node.fabric_node }}'
layer3: "{{ layer3.my_layer }}"
stitch_with: '{{ network.chi_network }}'
count: 1
Expand All @@ -38,6 +37,7 @@ resource:
provider: '{{ fabric.fabric_provider }}'
count: 1
image: default_rocky_8
network: '{{ network.fabric_network }}'
- chi_node:
provider: '{{ chi.chi_provider }}'
image: CC-Ubuntu20.04
Expand Down
2 changes: 1 addition & 1 deletion jupyter/examples/native-aws/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ resource:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.fab_layer }}"
peering: "{{ peering.my_peering }}"
interface: '{{ node.fabric_node }}'
count: 1
- node:
- fabric_node:
provider: '{{ fabric.fabric_provider }}'
site: MAX # Use RENC when deploying to fabric beta environment
image: default_rocky_8
network: '{{ network.fabric_network }}'
count: 1
nic_model: NIC_Basic
2 changes: 1 addition & 1 deletion jupyter/examples/native-gcp/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ resource:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.fab_layer }}"
peering: "{{ peering.my_peering }}"
interface: '{{ node.fabric_node }}'
count: 1
- node:
- fabric_node:
provider: '{{ fabric.fabric_provider }}'
site: MAX
image: default_rocky_8
network: '{{ network.fabric_network }}'
count: 1
nic_model: NIC_Basic
2 changes: 1 addition & 1 deletion jupyter/examples/sense-aws/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ resource:
provider: '{{ fabric.fabric_provider }}'
site: MAX # Use RENC when deploying to fabric beta environment
image: default_rocky_8
network: "{{ network.fabric_network }}"
count: 1
nic_model: NIC_Basic
- network:
Expand All @@ -59,5 +60,4 @@ resource:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.fab_layer }}"
peering: "{{ peering.my_peering }}"
interface: '{{ node.fabric_node }}'
count: 1
3 changes: 1 addition & 2 deletions jupyter/examples/sense-gcp/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ resource:
provider: '{{ sense.sense_provider }}'
name: gcp-node
network: "{{ network.sense_net }}"
service:
count: 1
- fabric_node:
provider: '{{ fabric.fabric_provider }}'
site: MAX
image: default_rocky_8
count: 1
network: "{{ network.fabric_network }}"
nic_model: NIC_Basic
- network:
- sense_net:
Expand All @@ -66,7 +66,6 @@ resource:
provider: '{{ fabric.fabric_provider }}'
layer3: "{{ layer3.fab_layer }}"
peering: "{{ peering.my_peering }}"
interface: '{{ node.fabric_node }}'
count: 1
- service:
- dtn_service:
Expand Down
2 changes: 1 addition & 1 deletion tests/examples/test-fabric-network/config.fab
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ resource:
provider: '{{ fabric.fabric_provider }}'
site: '{{ var.fabric_site }}'
layer3: "{{ layer3.my_layer }}"
interface: '{{ node.fabric_node }}'
#stitch_interface: 3307
stitch_interface:
id:
Expand All @@ -34,4 +33,5 @@ resource:
site: '{{ var.fabric_site }}'
count: 1
image: default_rocky_8
network: '{{ network.fabric_network }}'
nic_model: NIC_ConnectX_5

0 comments on commit 39115fb

Please sign in to comment.