Commit 013cea4 1 parent 55ae872 commit 013cea4 Copy full SHA for 013cea4
File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ config:
30
30
local_device:
31
31
local_port:
32
32
cloud_region: "us-east-1"
33
+ cloud_vlan: 6
34
+ cloud_bw: 1000
33
35
34
36
# FOR SENSE and FABRIC
35
37
local_asn: "55038" # customer_asn (hard coded for now)
@@ -73,4 +75,4 @@ resource:
73
75
controller: '{{ node.fabric_node }}'
74
76
image: dtnaas/tools
75
77
profile: fabfed
76
- count: 0 # SET THIS TO 1 if you want use janus service
78
+ count: 1 # SET THIS TO 1 if you want use janus service
Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ def handle_facility_port(self):
173
173
device = self .peering .attributes .get (Constants .RES_LOCAL_DEVICE )
174
174
port = self .peering .attributes .get (Constants .RES_LOCAL_PORT )
175
175
vlan = self .peering .attributes .get ('cloud_vlan' )
176
+ bw = self .peering .attributes .get ('cloud_bw' , 50 )
176
177
177
178
if not device :
178
179
device = self .stitch_port .get (Constants .STITCH_PORT_DEVICE_NAME )
@@ -231,7 +232,7 @@ def handle_facility_port(self):
231
232
site = cloud ,
232
233
labels = labels ,
233
234
peer_labels = peer_labels ,
234
- capacities = Capacities (bw = 50 , mtu = mtu_size ))
235
+ capacities = Capacities (bw = int ( bw ) , mtu = mtu_size ))
235
236
236
237
logger .info ("CreatedFacilityPort:" + facility_port .toJson ())
237
238
else :
You can’t perform that action at this time.
0 commit comments