Ask is moving to Stack Overflow and Serverfault.com! 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

Pushing groups to switch

I am trying to push groups to switch using restconf "http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:217992702591811/group/1" with <group xmlns="urn:opendaylight:flow:inventory"> <group-type>group-all</group-type> <buckets> <bucket> <action> <pop-vlan-action/> <order>0</order> </action> <bucket-id>12</bucket-id> <watch_group>14</watch_group> <watch_port>1234</watch_port> </bucket> <bucket> <action> <set-field> <ipv4-source>100.1.1.1</ipv4-source> </set-field> <order>0</order> </action> <action> <set-field> <ipv4-destination>200.71.9.52</ipv4-destination> </set-field> <order>1</order> </action> <bucket-id>13</bucket-id> <watch_group>14</watch_group> <watch_port>1234</watch_port> </bucket> </buckets> <barrier>false</barrier> <group-name>Foo</group-name> <group-id>1</group-id> </group>

This is provided in "https://wiki.opendaylight.org/view/OpenDaylightOpenFlowPlugin:EndtoEnd_Groups" this is throwing an error at the restconf level : { "errors": { "error": [ { "error-type": "protocol", "error-tag": "malformed-message", "error-message": "Error parsing input: Failed to parse element [ipv4-source: null] as leaf AbsoluteSchemaPath{path=[(urn:opendaylight:inventory?revision=2013-08-19)nodes, (urn:opendaylight:inventory?revision=2013-08-19)node, (urn:opendaylight:flow:inventory?revision=2013-08-19)group, (urn:opendaylight:flow:inventory?revision=2013-08-19)buckets, (urn:opendaylight:flow:inventory?revision=2013-08-19)bucket, (urn:opendaylight:flow:inventory?revision=2013-08-19)action, (urn:opendaylight:flow:inventory?revision=2013-08-19)action, (urn:opendaylight:flow:inventory?revision=2013-08-19)set-field-case, (urn:opendaylight:flow:inventory?revision=2013-08-19)set-field, (urn:opendaylight:flow:inventory?revision=2013-08-19)layer-3-match, (urn:opendaylight:flow:inventory?revision=2013-08-19)ipv4-match, (urn:opendaylight:flow:inventory?revision=2013-08-19)ipv4-source]}" } ], } }

Not sure what exactly is the problem, can somebody help me by providing the payload or some pointers would be helpful

Pushing groups to switch

I am trying to push groups to switch using restconf "http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:217992702591811/group/1" restconf "http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:217992702591811/group/1" with <group xmlns="urn:opendaylight:flow:inventory"> <group-type>group-all</group-type> <buckets> <bucket> <action> <pop-vlan-action/> <order>0</order> </action> <bucket-id>12</bucket-id> <watch_group>14</watch_group> <watch_port>1234</watch_port> </bucket> <bucket> <action> <set-field> <ipv4-source>100.1.1.1</ipv4-source> </set-field> <order>0</order> </action> <action> <set-field> <ipv4-destination>200.71.9.52</ipv4-destination> </set-field> <order>1</order> </action> <bucket-id>13</bucket-id> <watch_group>14</watch_group> <watch_port>1234</watch_port> </bucket> </buckets> <barrier>false</barrier> <group-name>Foo</group-name> <group-id>1</group-id> </group>

This is provided in "https://wiki.opendaylight.org/view/OpenDaylightOpenFlowPlugin:EndtoEnd_Groups" this is throwing an error at the restconf level :

{ "errors": { "error": [ { "error-type": "protocol", "error-tag": "malformed-message", "error-message": "Error parsing input: Failed to parse element [ipv4-source: null] as leaf AbsoluteSchemaPath{path=[(urn:opendaylight:inventory?revision=2013-08-19)nodes, (urn:opendaylight:inventory?revision=2013-08-19)node, (urn:opendaylight:flow:inventory?revision=2013-08-19)group, (urn:opendaylight:flow:inventory?revision=2013-08-19)buckets, (urn:opendaylight:flow:inventory?revision=2013-08-19)bucket, (urn:opendaylight:flow:inventory?revision=2013-08-19)action, (urn:opendaylight:flow:inventory?revision=2013-08-19)action, (urn:opendaylight:flow:inventory?revision=2013-08-19)set-field-case, (urn:opendaylight:flow:inventory?revision=2013-08-19)set-field, (urn:opendaylight:flow:inventory?revision=2013-08-19)layer-3-match, (urn:opendaylight:flow:inventory?revision=2013-08-19)ipv4-match, (urn:opendaylight:flow:inventory?revision=2013-08-19)ipv4-source]}" } ], } }

Not sure what exactly is the problem, can somebody help me by providing the payload or some pointers would be helpful

Pushing groups to switch

I am trying to push groups to switch using restconf "http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:217992702591811/group/1" with <group xmlns="urn:opendaylight:flow:inventory"> <group-type>group-all</group-type> <buckets> <bucket> <action> <pop-vlan-action/> <order>0</order> </action> <bucket-id>12</bucket-id> <watch_group>14</watch_group> <watch_port>1234</watch_port> </bucket> <bucket> <action> <set-field> <ipv4-source>100.1.1.1</ipv4-source> </set-field> <order>0</order> </action> <action> <set-field> <ipv4-destination>200.71.9.52</ipv4-destination> </set-field> <order>1</order> </action> <bucket-id>13</bucket-id> <watch_group>14</watch_group> <watch_port>1234</watch_port> </bucket> </buckets> <barrier>false</barrier> <group-name>Foo</group-name> <group-id>1</group-id> </group>

This is provided in "https://wiki.opendaylight.org/view/OpenDaylight"https://wiki.opendaylight.org/view/OpenDaylightOpenFlowPlugin:EndtoEnd_Groups" End_Groups" this is throwing an error at the restconf level :

{ "errors": { "error": [ { "error-type": "protocol", "error-tag": "malformed-message", "error-message": "Error parsing input: Failed to parse element [ipv4-source: null] as leaf AbsoluteSchemaPath{path=[(urn:opendaylight:inventory?revision=2013-08-19)nodes, (urn:opendaylight:inventory?revision=2013-08-19)node, (urn:opendaylight:flow:inventory?revision=2013-08-19)group, (urn:opendaylight:flow:inventory?revision=2013-08-19)buckets, (urn:opendaylight:flow:inventory?revision=2013-08-19)bucket, (urn:opendaylight:flow:inventory?revision=2013-08-19)action, (urn:opendaylight:flow:inventory?revision=2013-08-19)action, (urn:opendaylight:flow:inventory?revision=2013-08-19)set-field-case, (urn:opendaylight:flow:inventory?revision=2013-08-19)set-field, (urn:opendaylight:flow:inventory?revision=2013-08-19)layer-3-match, (urn:opendaylight:flow:inventory?revision=2013-08-19)ipv4-match, (urn:opendaylight:flow:inventory?revision=2013-08-19)ipv4-source]}" } ], } }

Not sure what exactly is the problem, can somebody help me by providing the payload or some pointers would be helpful

Pushing groups to switch

I am trying to push groups to switch using restconf "http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:217992702591811/group/1" with <group xmlns="urn:opendaylight:flow:inventory"> <group-type>group-all</group-type> <buckets> <bucket> <action> <pop-vlan-action/> <order>0</order> </action> <bucket-id>12</bucket-id> <watch_group>14</watch_group> <watch_port>1234</watch_port> </bucket> <bucket> <action> <set-field> <ipv4-source>100.1.1.1</ipv4-source> </set-field> <order>0</order> </action> <action> <set-field> <ipv4-destination>200.71.9.52</ipv4-destination> </set-field> <order>1</order> </action> <bucket-id>13</bucket-id> <watch_group>14</watch_group> <watch_port>1234</watch_port> </bucket> </buckets> <barrier>false</barrier> <group-name>Foo</group-name> <group-id>1</group-id> </group>

This is provided in "https://wiki.opendaylight.org/view/OpenDaylightOpenFlowPlugin:EndtoEnd_Groups" opendaylight wiki this is throwing an error at the restconf level :

{ "errors": { "error": [ { "error-type": "protocol", "error-tag": "malformed-message", "error-message": "Error parsing input: Failed to parse element [ipv4-source: null] as leaf AbsoluteSchemaPath{path=[(urn:opendaylight:inventory?revision=2013-08-19)nodes, (urn:opendaylight:inventory?revision=2013-08-19)node, (urn:opendaylight:flow:inventory?revision=2013-08-19)group, (urn:opendaylight:flow:inventory?revision=2013-08-19)buckets, (urn:opendaylight:flow:inventory?revision=2013-08-19)bucket, (urn:opendaylight:flow:inventory?revision=2013-08-19)action, (urn:opendaylight:flow:inventory?revision=2013-08-19)action, (urn:opendaylight:flow:inventory?revision=2013-08-19)set-field-case, (urn:opendaylight:flow:inventory?revision=2013-08-19)set-field, (urn:opendaylight:flow:inventory?revision=2013-08-19)layer-3-match, (urn:opendaylight:flow:inventory?revision=2013-08-19)ipv4-match, (urn:opendaylight:flow:inventory?revision=2013-08-19)ipv4-source]}" } ], } }

Not sure what exactly is the problem, can somebody help me by providing the payload or some pointers would be helpful