cpqd / nox13oflib Goto Github PK
View Code? Open in Web Editor NEWNOX Zaku with OF 1.3 support
License: Other
NOX Zaku with OF 1.3 support
License: Other
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.
Hi is there any reason why Add_Field("icmp_type", icmp_type) wouldn't work? icmp_type here set to 15 ..
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.
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.
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.
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;
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.