Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

ODL API is expecting 'source-port-range' also in the JSON body. So, the JSON format should be the following:

{ 'acl': [ { 'acl-name': u'myclass', 'access-list-entries': { 'ace': [ {'matches': { 'destination-port-range': {'lower-port': 80, 'upper-port': 80, 'source-port-range': {'lower-port': 80, 'upper-port': 80}, 'protocol': 6}, 'actions': {'netvirt-sfc-acl:rsp-name': u'Path-mychain-Path-24'}, 'rule-name': u'myclass'} ] } } ] }

It seems, it is a bug in ODL Berrylium.

Regards, Srikanth.