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

Rounak's profile - activity

2016-03-16 04:59:10 -0700 received badge  Famous Question (source)
2015-06-29 13:06:32 -0700 received badge  Notable Question (source)
2015-06-09 14:54:17 -0700 received badge  Popular Question (source)
2015-06-01 05:11:19 -0700 commented answer How to add Flows to Queue created on OVS switch using REST API?

this is simple flow which is for an arp request. floods packets is encounters an arp request from the specified mac.. obviously m running this on karaf. hope it helps :-)

2015-06-01 05:06:01 -0700 answered a question How to add Flows to Queue created on OVS switch using REST API?

Opendaylight Version - distribution-karaf-0.2.3-Helium-SR3 (HELIUM)

Opendaylight Module - RestConf

Client - Postman

Method - PUT

Headers - [Content-Type: application/xml, Accept: application/xml]

Creds - admin/admin

Flood matching ARP mac-1
http://10.138.97.209:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/1

xml

    <?xml version="1.0" encoding="UTF-8" standalone="no"?> 
<flow xmlns="urn:opendaylight:flow:inventory"> 
    <flow-name>f1</flow-name> 
    <id>1</id> 
    <table_id>0</table_id> 
    <match> 
    <ethernet-match> 
            <ethernet-type> 
              <type>2054</type> 
            </ethernet-type>        
            <ethernet-source> 
                <address>00:00:00:00:00:01</address> 
            </ethernet-source> 
        </ethernet-match> 
    </match> 
    <cookie>3026418949592973312</cookie> 
    <hard-timeout>0</hard-timeout> 
    <idle-timeout>0</idle-timeout> 
    <priority>10</priority> 
    <instructions> 
        <instruction> 
            <order>0</order> 
            <apply-actions> 
                <action> 
                   <order>0</order> 
                   <output-action> 
                        <output-node-connector>FLOOD</output-node-connector> 
                        <max-length>60</max-length> 
                   </output-action> 
                </action> 
            </apply-actions> 
        </instruction> 
    </instructions> 
</flow>
2015-05-27 04:09:45 -0700 received badge  Editor (source)
2015-05-27 03:30:58 -0700 asked a question XML body for an arp reply flow using restconf

I tried writing normal flows using restconf and xml file,it works fine.. using postman. But now I am trying to use openflowplugin-nicira-extension tags in my xml file, restconf is not recognising them.

Error

Schema node "nx-arp-sha" was not found in module

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf"> <error> <error-type>application</error-type> <error-tag>unknown-element</error-tag> <error-message>Schema node "nx-arp-sha" was not found in module.</error-message> </error> </errors>

Postman

http://10.138.97.209:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/2

PUT

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <flow xmlns="urn:opendaylight:flow:inventory"> <priority>512</priority> <flow-name>f2</flow-name> <match> <ethernet-match> <ethernet-type> <type>2054</type> </ethernet-type> <ethernet-destination> <address>ff:ff:ff:ff:ff:ff</address> </ethernet-destination> <ethernet-source> <address>00:00:00:00:00:01</address> </ethernet-source> </ethernet-match> </match> <id>2</id> <table_id>0</table_id> <cookie>3026418949592973313</cookie> <hard-timeout>0</hard-timeout> <idle-timeout>0</idle-timeout> <instructions> <instruction> <order>0</order> <apply-actions> <action> <order>0</order> <nx-arp-sha xmlns="urn:opendaylight:openflowplugin:extension:nicira:action"></nx-arp-sha> </action> </apply-actions> </instruction> </instructions> </flow>

reply

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf"> <error> <error-type>application</error-type> <error-tag>unknown-element</error-tag> <error-message>Schema node "nx-arp-sha" was not found in module.</error-message> </error> </errors>