Adding DHCP config for BBSIM
Change-Id: If583ab653e873dbd4c9109f94f4a7a59ce52dd69
diff --git a/tosca-configs/bbsim/onlab-pod2-bbsim-16.yaml b/tosca-configs/bbsim/onlab-pod2-bbsim-16.yaml
index 0d27f4b..44c1d5d 100644
--- a/tosca-configs/bbsim/onlab-pod2-bbsim-16.yaml
+++ b/tosca-configs/bbsim/onlab-pod2-bbsim-16.yaml
@@ -53,6 +53,28 @@
node: service#volt
relationship: tosca.relationships.BelongsToOne
+ # DHCP L2 Relay config
+ onos_app#dhcpl2relay:
+ type: tosca.nodes.ONOSApp
+ properties:
+ name: dhcpl2relay
+ must-exist: true
+
+ dhcpl2relay-config-attr:
+ type: tosca.nodes.ServiceInstanceAttribute
+ properties:
+ name: /onos/v1/network/configuration/apps/org.opencord.dhcpl2relay
+ value: >
+ {
+ "dhcpl2relay" : {
+ "useOltUplinkForServerPktInOut" : true
+ }
+ }
+ requirements:
+ - service_instance:
+ node: onos_app#dhcpl2relay
+ relationship: tosca.relationships.BelongsToOne
+
# Whitelist
service#att:
type: tosca.nodes.AttWorkflowDriverService