My name is Javier and I am new in the community and into transportPCE project. I hope you can help me solve the issues I face :)
I am trying to run the test scenario End2End. As written in the script, I first create 2 instances of ROADMs and make sure the corresponding link of the type "ROADM-TO-ROADM" is created. Then, I add to the topology 2 instances of Xponders and configure the links with the corresponding ROADM instance.
Now, when I try to create the service from 1 Xponder to the other, I get the following error from the controller. I am following the tutorial in the developer guide of transportPCE and I am getting the content from the samples there. I have verified that the content of the message has all the required fields with respect to the YANG model. I am using model versions 1.2.1.
"error-message": "Error parsing input: String 'org.opendaylight.yangtools.yang.model.util.type.ResolvedLengthConstraint@1882f7dc' does not match allowed length constraint %s",
"error-info": "String 'org.opendaylight.yangtools.yang.model.util.type.ResolvedLengthConstraint@1882f7dc' does not match allowed length constraint %s"
}
Here is the content of the request to create a service. I have modified the fields that correspond to my "node-id" and "clli".
{"input": {
"sdnc-request-header": {
"request-id": "e3028bae-a90f-4ddd-a83f-cf224eba0e58",
"rpc-action": "service-create",
"request-system-id": "appname",
"notification-url": "http://localhost:8585/NotificationServer/notify"
},
"service-name": "service1",
"common-id": "ASATT1234567",
"connection-type": "service",
"service-a-end": {
"service-rate": "100",
"node-id": "XPDRA",
"service-format": "Ethernet",
"clli": "NodeA",
"tx-direction": {
"port": {
"port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00",
"port-type": "router",
"port-name": "Gigabit Ethernet_Tx.ge-5/0/0.0",
"port-rack": "000000.00",
"port-shelf": "00"
},
"lgx": {
"lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00",
"lgx-port-name": "LGX Back.3",
"lgx-port-rack": "000000.00",
"lgx-port-shelf": "00"
}
},
"rx-direction": {
"port": {
"port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00",
"port-type": "router",
"port-name": "Gigabit Ethernet_Rx.ge-5/0/0.0",
"port-rack": "000000.00",
"port-shelf": "00"
},
"lgx": {
"lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00",
"lgx-port-name": "LGX Back.4",
"lgx-port-rack": "000000.00",
"lgx-port-shelf": "00"
}
},
"optic-type": "gray"
},
"service-z-end": {
"service-rate": "100",
"node-id": "XPDRC",
"service-format": "Ethernet",
"clli": "NodeC",
"tx-direction": {
"port": {
"port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00",
"port-type": "router",
"port-name": "Gigabit Ethernet_Tx.ge-1/0/0.0",
"port-rack": "000000.00",
"port-shelf": "00"
},
"lgx": {
"lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00",
"lgx-port-name": "LGX Back.29",
"lgx-port-rack": "000000.00",
"lgx-port-shelf": "00"
}
},
"rx-direction": {
"port": {
"port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00",
"port-type": "router",
"port-name": "Gigabit Ethernet_Rx.ge-1/0/0.0",
"port-rack": "000000.00",
"port-shelf": "00"
},
"lgx": {
"lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00",
"lgx-port-name": "LGX Back.30",
"lgx-port-rack": "000000.00",
"lgx-port-shelf": "00"
}
},
"optic-type": "gray"
},
"due-date": "2016-11-28T00:00:01Z",
"operator-contact": "pw1234"
}
}