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

What is the proper syntax for using the "resubmit" action in XML and JSON formats?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflow:nx:resubmit:action" as nx-resubmit-action, but I can't seem to get the syntax correct for invoking it.

Here's the xml version script I'm trying to add resubmit to:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <**I WANT TO PUT RESUBMIT SYNTAX HERE**>
          <table_id>1</table_id>
        </**I WANT TO PUT RESUBMIT SYNTAX HERE**>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflow:nx:resubmit:action" as nx-resubmit-action, but I can't seem to get the syntax correct for invoking it.

Here's the xml version script I'm trying to add resubmit to:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <**I WANT TO PUT RESUBMIT SYNTAX HERE**>
          <table_id>1</table_id>
        </**I WANT TO PUT RESUBMIT SYNTAX HERE**>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflow:nx:resubmit:action" as nx-resubmit-action, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with <group xmlns="...&gt;sets" the="" remainder="" of="" the="" script="" to="" look="" in="" that="" location="" for="" the="" specified="" schema="" nodes.="" as="" posted="" above,="" resubmit="" is="" not="" within="" flow:inventory,="" it's="" in="" another="" location="" and="" as="" such="" cannot="" be="" found.<="" p="">

Here's the xml version script I'm trying to add resubmit to:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <**I WANT TO PUT RESUBMIT SYNTAX HERE**>
          <table_id>1</table_id>
        </**I WANT TO PUT RESUBMIT SYNTAX HERE**>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflow:nx:resubmit:action" as nx-resubmit-action, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with <group xmlns="...&gt;sets" the="" remainder="" of="" the="" script="" to="" look="" in="" that="" location="" for="" the="" specified="" schema="" nodes.="" as="" posted="" above,="" resubmit="" is="" not="" within="" flow:inventory,="" it's="" in="" another="" location="" and="" as="" such="" cannot="" be="" found.<="" p=""> "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found.

Here's the xml version script I'm trying to add resubmit to:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <**I WANT TO PUT RESUBMIT SYNTAX HERE**>
          <table_id>1</table_id>
        </**I WANT TO PUT RESUBMIT SYNTAX HERE**>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflow:nx:resubmit:action" as nx-resubmit-action, nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found.

Here's the xml version script I'm trying to add resubmit to:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <**I WANT TO PUT RESUBMIT SYNTAX HERE**>
          <table_id>1</table_id>
        </**I WANT TO PUT RESUBMIT SYNTAX HERE**>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflow:nx:resubmit:action" as nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found.found. What I need is a way to tell the parser/loader where to find nx-resubmit for that specific invocation of it.

Here's the xml version script I'm trying to add resubmit to:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <**I WANT TO PUT RESUBMIT SYNTAX HERE**>
          <table_id>1</table_id>
        </**I WANT TO PUT RESUBMIT SYNTAX HERE**>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflow:nx:resubmit:action" as nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found. What I need is a way to tell the parser/loader where to find nx-resubmit for that specific invocation of it.

Here's the UPDATE: Part of my question has been answered in identifying the namespace, but I think I'm either using the wrong namespace or something more serious is at work. I've edited the code to include the relevant namespace spec which has been missing before.

The xml version script I'm trying to add resubmit to:to is given below. The code gives me an error stating: error-type : application error-tag: unknown-element error-message: Schema node "nx-resubmit" was not found in module.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
xmlns="urn:opendaylight:flow:inventory" xmlns:nx="urn:opendaylight:openflow:nx:resubmit:action">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <**I WANT TO PUT RESUBMIT SYNTAX HERE**>
<nx:nx-resubmit **Still throwing errors**>
          <table_id>1</table_id>
        </**I WANT TO PUT RESUBMIT SYNTAX HERE**>
</nx:nx-resubmit **Still throwing errors**>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

[Unresolved] What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflow:nx:resubmit:action" "urn:opendaylight:openflowplugin:extension:nicira:action" or "urn:opendaylight:openflowjava:nx:action" as nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found. What I need is a way to tell the parser/loader where to find nx-resubmit for that specific invocation of it.

UPDATE: Part of my question has been answered in identifying the namespace, but I think I'm either using the wrong namespace or something more serious is at work. I've edited the code to include the relevant namespace spec which has been missing before.

UPDATE 2: I have changed the namespaces specified earlier in the question and updated the code to reflect this. However, both namespaces still yield the same error and so this question is still unsolved.

The xml version script I'm trying to add resubmit to is given below. The code gives me an error stating: error-type : application error-tag: unknown-element error-message: Schema node "nx-resubmit" was not found in module.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory" xmlns:nx="urn:opendaylight:openflow:nx:resubmit:action">
xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <nx:nx-resubmit **Still throwing errors**>
<nx-resubmit xmlns="urn:opendaylight:openflowplugin:nicira:extension:action">
          <table_id>1</table_id>
        </nx:nx-resubmit **Still throwing errors**>
</nx-resubmit>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

[Unresolved] What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?formats for use with the REST api in MD-SAL?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflowplugin:extension:nicira:action" or "urn:opendaylight:openflowjava:nx:action" as nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found. What I need is a way to tell the parser/loader where to find nx-resubmit for that specific invocation of it.

UPDATE: Part of my question has been answered in identifying the namespace, but I think I'm either using the wrong namespace or something more serious is at work. I've edited the code to include the relevant namespace spec which has been missing before.

UPDATE 2: I have changed the namespaces specified earlier in the question and updated the code to reflect this. However, both namespaces still yield the same error and so this question is still unsolved.

The xml version script I'm trying to add resubmit to is given below. The code gives me an error stating: error-type : application error-tag: unknown-element error-message: Schema node "nx-resubmit" was not found in module.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <nx-resubmit xmlns="urn:opendaylight:openflowplugin:nicira:extension:action">
          <table_id>1</table_id>
        </nx-resubmit>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

[Unresolved] What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats for use with the REST api in MD-SAL?formats?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflowplugin:extension:nicira:action" or "urn:opendaylight:openflowjava:nx:action" as nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found. What I need is a way to tell the parser/loader where to find nx-resubmit for that specific invocation of it.

UPDATE: Part of my question has been answered in identifying the namespace, but I think I'm either using the wrong wrong namespace or something more serious is at work. I've edited the code to include the relevant namespace spec which has been missing before.

UPDATE 2: I have changed the namespaces specified earlier in the question and updated the code to reflect this. However, both namespaces still yield the same error and so this question is still unsolved.

The xml version script I'm trying to add resubmit to is given below. The code gives me an error stating: error-type : application error-tag: unknown-element error-message: Schema node "nx-resubmit" was not found in module.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <nx-resubmit xmlns="urn:opendaylight:openflowplugin:nicira:extension:action">
          <table_id>1</table_id>
        </nx-resubmit>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

[Unresolved] What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary. necessary, otherwise I'd have used go-to-table. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflowplugin:extension:nicira:action" or "urn:opendaylight:openflowjava:nx:action" as nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found. What I need is a way to tell the parser/loader where to find nx-resubmit for that specific invocation of it.

UPDATE: I think I'm either using the wrong namespace or something more serious is at work. I've edited the code to include the relevant namespace spec which has been missing before.

UPDATE 2: I have changed the namespaces specified earlier in the question and updated the code to reflect this. However, both namespaces still yield the same error and so this question is still unsolved.unsolved. I also thought it would be helpful to give the ovs-ofctl equivalent of the command I am attempting to translate:

sudo ovs-ofctl -O OpenFlow13 add-group s1 groupid=1,type=ff,bucket=watchport:21,actions=output:21,bucket=watch_port:10,resubmit(,1)

The xml version script I'm trying to add resubmit to is given below. The code gives me an error stating: stating:

error-type : application application

error-tag: unknown-element unknown-element

error-message: Schema node "nx-resubmit" was not found in module.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <nx-resubmit xmlns="urn:opendaylight:openflowplugin:nicira:extension:action">
          <table_id>1</table_id>
        </nx-resubmit>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

[Unresolved] What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary, otherwise I'd have used go-to-table. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflowplugin:extension:nicira:action" or "urn:opendaylight:openflowjava:nx:action" as nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found. What I need is a way to tell the parser/loader where to find nx-resubmit for that specific invocation of it.

UPDATE: I think I'm either using the wrong namespace or something more serious is at work. I've edited the code to include the relevant namespace spec which has been missing before.

UPDATE 2: I have changed the namespaces specified earlier in the question and updated the code to reflect this. However, both namespaces still yield the same error and so this question is still unsolved. I also thought it would be helpful to give the ovs-ofctl equivalent of the command I am attempting to translate:

sudo ovs-ofctl -O OpenFlow13 add-group s1 s1 groupid=1,type=ff,bucket=watchport:21,actions=output:21,bucket=watch_port:10,resubmit(,1)

The xml version script I'm trying to add resubmit to is given below. The code gives me an error stating:

error-type : application

error-tag: unknown-element

error-message: Schema node "nx-resubmit" was not found in module.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <nx-resubmit xmlns="urn:opendaylight:openflowplugin:nicira:extension:action">
          <table_id>1</table_id>
        </nx-resubmit>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

[Unresolved] What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary, otherwise I'd have used go-to-table. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflowplugin:extension:nicira:action" or "urn:opendaylight:openflowjava:nx:action" as nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found. What I need is a way to tell the parser/loader where to find nx-resubmit for that specific invocation of it.

UPDATE: I think I'm either using the wrong namespace or something more serious is at work. I've edited the code to include the relevant namespace spec which has been missing before.

UPDATE 2: I have changed the namespaces specified earlier in the question and updated the code to reflect this. However, both namespaces still yield the same error and so this question is still unsolved. I also thought it would be helpful to give the valid and successfully executable ovs-ofctl equivalent of the command I am attempting to translate:

translate, where s1 is the name of the target switch:

sudo ovs-ofctl -O OpenFlow13 add-group s1
  groupid=1,type=ff,bucket=watchport:21,actions=output:21,bucket=watch_port:10,resubmit(,1)

s1 group_id=1,type=ff,bucket=watch_port:21,actions=output:21,bucket=watch_port:10,resubmit\(,1\)

The xml version script I'm trying to add resubmit to is given below. The code gives me an error stating:

error-type : application

error-tag: unknown-element

error-message: Schema node "nx-resubmit" was not found in module.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <nx-resubmit xmlns="urn:opendaylight:openflowplugin:nicira:extension:action">
          <table_id>1</table_id>
        </nx-resubmit>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

[Unresolved] What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary, otherwise I'd have used go-to-table. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflowplugin:extension:nicira:action" or "urn:opendaylight:openflowjava:nx:action" as nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found. What I need is a way to tell the parser/loader where to find nx-resubmit for that specific invocation of it.

UPDATE: I think I'm either using the wrong namespace or something more serious is at work. I've edited the code to include the relevant namespace spec which has been missing before.

UPDATE 2: I have changed the namespaces specified earlier in the question and updated the code to reflect this. However, both namespaces still yield the same error and so this question is still unsolved. I also thought it would be helpful to give the valid and successfully executable ovs-ofctl equivalent of the command I am attempting to translate, where s1 is the name of the target switch:

sudo ovs-ofctl -O OpenFlow13 add-group s1 
group_id=1,type=ff,bucket=watch_port:21,actions=output:21,bucket=watch_port:10,resubmit\(,1\)

UPDATE 3: I believe I've figured out why this doesn't work; see my answer below. If I can get it working on SR4, I'll edit my own answer and accept it at that time.

The xml version script I'm trying to add resubmit to is given below. The code gives me an error stating:

error-type : application

error-tag: unknown-element

error-message: Schema node "nx-resubmit" was not found in module.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <nx-resubmit xmlns="urn:opendaylight:openflowplugin:nicira:extension:action">
          <table_id>1</table_id>
        </nx-resubmit>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

[Unresolved] What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary, otherwise I'd have used go-to-table. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflowplugin:extension:nicira:action" or "urn:opendaylight:openflowjava:nx:action" as nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found. What I need is a way to tell the parser/loader where to find nx-resubmit for that specific invocation of it.

UPDATE: I think I'm either using the wrong namespace or something more serious is at work. I've edited the code to include the relevant namespace spec which has been missing before.

UPDATE 2: I have changed the namespaces specified earlier in the question and updated the code to reflect this. However, both namespaces still yield the same error and so this question is still unsolved. I also thought it would be helpful to give the valid and successfully executable ovs-ofctl equivalent of the command I am attempting to translate, where s1 is the name of the target switch:

sudo ovs-ofctl -O OpenFlow13 add-group s1 
group_id=1,type=ff,bucket=watch_port:21,actions=output:21,bucket=watch_port:10,resubmit\(,1\)

UPDATE 3: I believe I've figured out why this doesn't work; see my answer below. If I can get it working on SR4, I'll edit my own answer and accept it at that time.

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary, otherwise I'd have used go-to-table. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflowplugin:extension:nicira:action" or "urn:opendaylight:openflowjava:nx:action" as nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found. What I need is a way to tell the parser/loader where to find nx-resubmit for that specific invocation of it.

UPDATE: I think I'm either using the wrong namespace or something more serious is at work. I've edited the code to include the relevant namespace spec which has been missing before.

UPDATE 2: I have changed the namespaces specified earlier in the question and updated the code to reflect this. However, both namespaces still yield the same error and so this question is still unsolved. I also thought it would be helpful to give the valid and successfully executable ovs-ofctl equivalent of the command I am attempting to translate, where s1 is the name of the target switch:

sudo ovs-ofctl -O OpenFlow13 add-group s1 
group_id=1,type=ff,bucket=watch_port:21,actions=output:21,bucket=watch_port:10,resubmit\(,1\)

UPDATE 3: I believe I've figured out why this doesn't work; see my answer below. If I can get it working on SR4, I'll edit my own answer and accept it at that time.

The xml version script I'm trying to add resubmit to is given below. The code gives me an error stating:

error-type : application

error-tag: unknown-element

error-message: Schema node "nx-resubmit" was not found in module.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <nx-resubmit xmlns="urn:opendaylight:openflowplugin:nicira:extension:action">
          <table_id>1</table_id>
        </nx-resubmit>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

[Unresolved] What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

UPDATE 3: I believe I've figured out why this doesn't work; see my answer below. If I can get it working on SR4, I'll edit my own answer and accept it at that time.

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary, otherwise I'd have used go-to-table. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflowplugin:extension:nicira:action" or "urn:opendaylight:openflowjava:nx:action" as nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found. What I need is a way to tell the parser/loader where to find nx-resubmit for that specific invocation of it.

UPDATE: I think I'm either using the wrong namespace or something more serious is at work. I've edited the code to include the relevant namespace spec which has been missing before.

UPDATE 2: I have changed the namespaces specified earlier in the question and updated the code to reflect this. However, both namespaces still yield the same error and so this question is still unsolved. I also thought it would be helpful to give the valid and successfully executable ovs-ofctl equivalent of the command I am attempting to translate, where s1 is the name of the target switch:

sudo ovs-ofctl -O OpenFlow13 add-group s1 
group_id=1,type=ff,bucket=watch_port:21,actions=output:21,bucket=watch_port:10,resubmit\(,1\)

UPDATE 3: I believe I've figured out why this doesn't work; see my answer below. If I can get it working on SR4, I'll edit my own answer and accept it at that time.

The xml version script I'm trying to add resubmit to is given below. The code gives me an error stating:

error-type : application

error-tag: unknown-element

error-message: Schema node "nx-resubmit" was not found in module.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <nx-resubmit xmlns="urn:opendaylight:openflowplugin:nicira:extension:action">
          <table_id>1</table_id>
        </nx-resubmit>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

[Unresolved] What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

UPDATE 3: I believe I've figured out why this doesn't work; see my 4: We never did get a working XML equivalent for the JSON provided, but the JSON provided does work in Lithium. We haven't tested it in Helium, though. In any case, we accept the answer below. If I can get as having given valid JSON, but note that the XML given is not necessarily valid as we never got it working on SR4, I'll edit my own answer and accept it at that time.to work.

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary, otherwise I'd have used go-to-table. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflowplugin:extension:nicira:action" or "urn:opendaylight:openflowjava:nx:action" as nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found. What I need is a way to tell the parser/loader where to find nx-resubmit for that specific invocation of it.

UPDATE: I think I'm either using the wrong namespace or something more serious is at work. I've edited the code to include the relevant namespace spec which has been missing before.

UPDATE 2: I have changed the namespaces specified earlier in the question and updated the code to reflect this. However, both namespaces still yield the same error and so this question is still unsolved. I also thought it would be helpful to give the valid and successfully executable ovs-ofctl equivalent of the command I am attempting to translate, where s1 is the name of the target switch:

sudo ovs-ofctl -O OpenFlow13 add-group s1 
group_id=1,type=ff,bucket=watch_port:21,actions=output:21,bucket=watch_port:10,resubmit\(,1\)

The xml version script I'm trying to add resubmit to is given below. The code gives me an error stating:

error-type : application

error-tag: unknown-element

error-message: Schema node "nx-resubmit" was not found in module.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <nx-resubmit xmlns="urn:opendaylight:openflowplugin:nicira:extension:action">
          <table_id>1</table_id>
        </nx-resubmit>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>

[Unresolved] What is the proper syntax for using the "resubmit" (Nicira Extension) action in XML and JSON formats?

UPDATE 4: We never did get a working XML equivalent for the JSON provided, but the JSON provided does work in Lithium. We haven't tested it in Helium, though. In any case, we accept the answer as having given valid JSON, but note that the XML given is not necessarily valid as we never got it to work.work. As a result, this question is still technically Unresolved.

Hello.

As the question implies, I am having trouble converting the Nicira extension action "resubmit" into XML and JSON. I've searched around and most sites that come up have people using "go-to-table" and claiming it is equivalent. It is not equivalent since "go-to-table" is an instruction while "resubmit " is an action. I am trying to write the action into a Group, so I can only use actions; therefore, resubmit is necessary, otherwise I'd have used go-to-table. Would anyone be kind enough to provide the proper syntax for importing/using resubmit? It seems to be listed under "urn:opendaylight:openflowplugin:extension:nicira:action" or "urn:opendaylight:openflowjava:nx:action" as nx-resubmit, but I can't seem to get the syntax correct for invoking it.

EDIT for clarification: Simply putting nx-resubmit in the appropriate location is insufficient. The line starting with "group xmlns=..." sets the remainder of the script to look in that location for the specified schema nodes. As posted above, resubmit is not within flow:inventory, it's in another location and as such cannot be found. What I need is a way to tell the parser/loader where to find nx-resubmit for that specific invocation of it.

UPDATE: I think I'm either using the wrong namespace or something more serious is at work. I've edited the code to include the relevant namespace spec which has been missing before.

UPDATE 2: I have changed the namespaces specified earlier in the question and updated the code to reflect this. However, both namespaces still yield the same error and so this question is still unsolved. I also thought it would be helpful to give the valid and successfully executable ovs-ofctl equivalent of the command I am attempting to translate, where s1 is the name of the target switch:

sudo ovs-ofctl -O OpenFlow13 add-group s1 
group_id=1,type=ff,bucket=watch_port:21,actions=output:21,bucket=watch_port:10,resubmit\(,1\)

The xml version script I'm trying to add resubmit to is given below. The code gives me an error stating:

error-type : application

error-tag: unknown-element

error-message: Schema node "nx-resubmit" was not found in module.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<group xmlns="urn:opendaylight:flow:inventory">
  <barrier>false</barrier>
  <group-name>failover1->2</group-name>
  <group-id>1</group-id>
  <group-type>group-ff</group-type>
  <buckets>
    <bucket>
      <action>
        <order>0</order>
        <output-action>
          <output-node-connector>21</output-node-connector>
        </output-action>
      </action>
      <bucket-id>1</bucket-id>
      <watch_port>21</watch_port>
    </bucket>
    <bucket>
      <action>
        <order>1</order>
        <nx-resubmit xmlns="urn:opendaylight:openflowplugin:nicira:extension:action">
          <table_id>1</table_id>
        </nx-resubmit>
      </action>
      <bucket-id>2</bucket-id>
      <watch_port>10</watch_port>
    </bucket>
  </buckets>
</group>