Coder Social home page Coder Social logo

nox13oflib's People

Contributors

alnvdl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nox13oflib's Issues

Emulation nox13oflib and IPv6

Hello everyone,

I installed nox13oflib, ofsoftswitch13 and MiniNet and I could emulate a SDN with OpenFlow 1.3. I am doing research on SDN and IPv6 and before continuing with this investigation, I want to ask if I installed these tools effectively can make an emulation of SDN with IPv6, at least let me know if nox13oflib and ofsoftswitch properly support IPv6 o What would you recommend me?

I understand that on MiniNet you do not have the necessary information, but I tried to seek help MiniNet-discuss mailing list and I have not received any response.

If indeed nox13oflib and ofsoftswitch allow use IPv6 then I have another question. Is it possible to change the routing parameters of controller for IPv6 header fields that I choose? How could I do this?

Thank you very much for your help.

Add_Field issue with ICMP

Hi is there any reason why Add_Field("icmp_type", icmp_type) wouldn't work? icmp_type here set to 15 ..

Do not assume that any OpenFlow-enabled switch supports FLOOD port

The controller tries to send messages on FLOOD port that is an optional one and is NOT supported by OpenFlow-only switches. If a controller wants to use this port it should first make sure that the switch supports it. It can also use the ALL port that every OpenFlow-enabled switch is required to implement. See the OpenFlow 1.3.0 specification ch. 4.5.

How to set an IP with a mask in nox13oflib

I am writing an application with NOX. But I failed to send a flow-mod message with the dst_ip and a specified mask through NOX API all the time.

If I only set the IP field without any mask like this:

Flow *f = new Flow();
uint8_t ip_dst[4] = {10,0,0,1};
f->Add_Field("eth_type", 0x0800);
f->Add_Field("ipv4_dst", ip_dst);

it works well. The rule will be inserted into the switches successfully

But if I add a mask for the dst_ip like this:
Flow *f = new Flow();
uint8_t ip_dst[4] = {10,0,0,1};
uint8_t mask[4] = {255,255,255,0};
f->Add_Field("eth_type", 0x0800);
f->Add_Field("ipv4_dst", ip_dst, mask);
Nothing happened in the flow table

I wander if I have used the Add_Field function in the right way

Thanks in advance.

link discovery not working

Hi all,
I connect the nox with two softswitch running on separate PC and I'm tryng the discovery application.
To do that I insert a rule in the two datapath that switches all traffic in the Control port.
When all applications are running (datapath, ofprotocol and nox), the discovery application doesn't work.
Using wireshark, I see that LLDP packet created by the discovery application are formatted and sent inside the data link of the softswitch, the datapath redirects the received LLDP traffic, but the application does not receive the LLDP message (it receives PACKET_IN event with no payload).

For completeness, I am using on PCs Fedora Core 15, 64 bit version (X86_64).

Thanks in advance for the reply.

ofl_structs_match_put_masked need to be changed

Please pay attention that this function needs to be changed accordingly:

void ofl_structs_match_put_masked(struct ofl_match *match, uint32_t header, T value, T mask){
struct ofl_match_tlv *m = (struct ofl_match_tlv *) malloc(sizeof (struct ofl_match_tlv));
int len = ((header) & 0xff);

m->header = header & 0xffffff00; /* This line is missing !!! */

/*set the masked bit */
m->header |= 1 << 8;

/* multiply the header len by 2 */

m->header |= ((header & 0xff) << 1); /* bug bug bug -> should be & instead of && */

m->value = (uint8_t*) malloc(len*2);
memcpy(m->value, &value, len);
memcpy(m->value + len, &mask, len);
hmap_insert(&match->match_fields,&m->hmap_node, hash_int(header, 0));
match->header.length += len * 2 + 4;

}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.