Updated PONSIM values for new DHCP config
Change-Id: I244f2393ec8496dc655cbe7ff6e41fb7f76fee0f
diff --git a/xos-profiles/ponsim-pod/tosca/030-fabric.yaml b/xos-profiles/ponsim-pod/tosca/030-fabric.yaml
index 9259a34..40b3334 100644
--- a/xos-profiles/ponsim-pod/tosca/030-fabric.yaml
+++ b/xos-profiles/ponsim-pod/tosca/030-fabric.yaml
@@ -19,6 +19,7 @@
- custom_types/switchport.yaml
- custom_types/portinterface.yaml
- custom_types/bngportmapping.yaml
+ - custom_types/serviceinstanceattribute.yaml
description: Configures the Ponsim SEBA POD with AT&T workflow
@@ -52,7 +53,6 @@
type: tosca.nodes.SwitchPort
properties:
portId: 1
- host_learning: false
requirements:
- switch:
node: switch#leaf_1
@@ -65,3 +65,20 @@
properties:
s_tag: "any"
switch_port: 1
+
+ # DHCP L2 Relay config
+ dhcpl2relay-config-attr:
+ type: tosca.nodes.ServiceInstanceAttribute
+ properties:
+ name: /onos/v1/network/configuration/apps/org.opencord.dhcpl2relay
+ value: >
+ {
+ "dhcpl2relay" : {
+ "useOltUplinkForServerPktInOut" : false,
+ "dhcpServerConnectPoints" : [ "of:0000000000000001/1" ]
+ }
+ }
+ requirements:
+ - service_instance:
+ node: onos_app#dhcpl2relay
+ relationship: tosca.relationships.BelongsToOne
\ No newline at end of file