[sfc-dev] NSH Classifier with SFC agent

Ricardo Noriega De Soto ricardo.noriega.de.soto at ericsson.com
Tue Aug 4 16:16:27 UTC 2015


Hi Jim!

Thanks for your answer.

So in theory, once the SFF is created, ODL shall send REST messages to that SFF IP address and the SFC agent will create the corresponding IPtables. Am I right?

I will try that!

BR
Ricky


El 4/8/2015, a las 17:37, Jim Guichard (jguichar) <jguichar at cisco.com<mailto:jguichar at cisco.com>> escribió:

Hi Ricky,

You need to run the SFC agent in a VM and create an SFF in ODL (with no services). Following JSON worked for me:

{
  "access-lists": {
    "access-list": [
      {
        "acl-name": "ACL1",
        "access-list-entries": [
          {
            "rule-name": "ACE1",
            "matches": {
              "absolute": {
                "active": true
              },
              "destination-ipv4-address": "10.0.43.0/24"
            },
            "actions": {
              "service-function-acl:rendered-service-path": "SFC3-Path-65"
            }
          }
        ]
      }
    ]
  }
}

{
  "service-function-classifiers": {
    "service-function-classifier": [
      {
        "name": "Classifier1",
        "access-list": "ACL1",
        "scl-service-function-forwarder": [
          {
            "name": "SFF-CL",
            "interface": "eth1"
          }
        ]
      }
    ]
  }
}


From: Ricardo Noriega De Soto <ricardo.noriega.de.soto at ericsson.com<mailto:ricardo.noriega.de.soto at ericsson.com>>
Date: Tuesday, August 4, 2015 at 11:32 AM
To: "sfc-dev at lists.opendaylight.org<mailto:sfc-dev at lists.opendaylight.org>" <sfc-dev at lists.opendaylight.org<mailto:sfc-dev at lists.opendaylight.org>>
Subject: [sfc-dev] NSH Classifier with SFC agent

Hi Reinaldo and all,

- Does anybody (@Reinaldo) have an example of JSON config to create an ACL and a Classifier????

I have started the SFC agent in a VM with the —nfq-class flag and it does nothing when I create the ACL/classifier via GUI.

- Do I have to create first an SFF in that VM? or is there any requirement?

The execution of the agent is not going through this code:

<desconocido.png>

Thanks

Ricky
<desconocido.png>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendaylight.org/pipermail/sfc-dev/attachments/20150804/216ccfac/attachment.html>


More information about the sfc-dev mailing list