-
Bug
-
Resolution: Done
-
unspecified
-
None
-
Operating System: All
Platform: PC
-
7171
Can't configure ACL from GUI.
Here are steps to reproduce the bug.
0. Build and Install boron sfc ODL controller.
git clone https://git.opendaylight.org/gerrit/p/sfc.git --branch stable/boron
1. Connect to SFC GUI, http://<odl-ip>:8181/index.html, configure Sevice Function, Service Function Forwarder, Sevice Function Chain
2. Deploy the chain
3. Click on Service Function Path and deploy the SFP
4. Click on Access Lists/Classifiers
5. Click on Add Access list
6. Select default data template, Access list entry type as ip,
fill in source port range (0-65535), destination port range(80-80), IP protocol as 6, IP version as IPv4, Source IPv4 address/network (192.168.2.0/24) , destination IPv4 address/network (192.168.2.0/24)
7.Click on Save.
8. Google chrome on windows 10 used is the browser used in the test.
The GUI shows no error but ACL doesn't get added. The errors seen on
browser console log is added below.
The ACL configuation succeeds if configured via RestConf i.e using
http://<odl-ip>:8181/apidoc/explorer/index.html#!/ietf-access-control-list(2016-02-18)/PUT_access_lists_put_2
-----------------
Browser Console Log on configuring ACL from GUI
ui.sortable: ngModel not provided! [div, context: div]
angular.js:11048 GET http://172.16.11.10:8181/restconf/config/ipfix-application-information:class-id-dictionary 404 (Not Found)(anonymous function) @ angular.js:11048sendReq @ angular.js:10841serverRequest @ angular.js:10551processQueue @ angular.js:15122(anonymous function) @ angular.js:15138$eval @ angular.js:16384$digest @ angular.js:16200$apply @ angular.js:16492done @ angular.js:10872completeRequest @ angular.js:11070requestLoaded @ angular.js:11011
sfc.services.js:611 No data, returning empty array
angular.js:11048 GET http://172.16.11.10:8181/restconf/config/ipfix-application-information:application-id-dictionary 404 (Not Found)(anonymous function) @ angular.js:11048sendReq @ angular.js:10841serverRequest @ angular.js:10551processQueue @ angular.js:15122(anonymous function) @ angular.js:15138$eval @ angular.js:16384$digest @ angular.js:16200$apply @ angular.js:16492done @ angular.js:10872completeRequest @ angular.js:11070requestLoaded @ angular.js:11011
sfc.services.js:611 No data, returning empty array
angular.js:11048 PUT http://172.16.11.10:8181/restconf/config/ietf-access-control-list:access-lists/acl/ACL3 404 (Not Found)(anonymous function) @ angular.js:11048sendReq @ angular.js:10841serverRequest @ angular.js:10551processQueue @ angular.js:15122(anonymous function) @ angular.js:15138$eval @ angular.js:16384$digest @ angular.js:16200$apply @ angular.js:16492(anonymous function) @ angular.js:24108dispatch @ jquery.min.js:3v.handle @ jquery.min.js:3
sfc.services.js:665 Error with status code 404 while PUT