Hi all,
I am starting with openFlow and nox. As starting example I am trying to
understand the pyswitch code. However, there are some lines of code that
are not very clear to me. Those lines are :
1- if ord(srcaddr[0]) 1: what is really meant by this condition ?
2- dst[0] != inport: why
Hi,
I am a little bit confused about the inport parameter in :
* send_openflow(dpid, bufid, buf, openflow.OFPP_FLOOD, inport)
And in:
* install_datapath_flow(dpid, flow, 5, 0, actions, bufid,
openflow.OFP_DEFAULT_PRIORITY, inport, packet)
Do they design the port of communication between the
Thanks Kyriakos :)
In fact, my confusion came from the fact that the inport is got from
registering to the packet_in event. So when you register you get the
inport, however this inport is used for two different cases.
So, in the case where the inport is got from registering to the
packet_in
Hi all,
I have some problem to understand some conditions in the nox example
'pyswitch'.
*My first question is that when a packet_in_event is received by the
controller, the 'inport' parameter designs the port of controller that
received the packet from the switch or the port of the switch
Hi,
I want to set-up statically a path using openflow but the
install_datapath_flow() method does not accept mac address as
parameter, so I need to know the correspondence between mac addresses
and port numbers in a switch so that I can choose the out_port that is
correspondent to a mac
this in the definition of
install_datapath_flow()
On Tue, Mar 29, 2011 at 3:03 AM, karim torkmen
karim.torkm...@gmail.com mailto:karim.torkm...@gmail.com wrote:
Hi,
I want to set-up statically a path using openflow but the
install_datapath_flow() method does not accept mac address
Hi,
I developed a component when I try to run it, I get the following error
message :
1|nox|INFO:Starting nox_core (/nox/build/src/.libs/lt-nox_core)
2|nox|DBG:Application installation report:
3|nox|DBG:built-in DSO deployer:
Current state:
configure.ac
http://configure.ac and Makefile.am?
On Thu, Mar 31, 2011 at 7:42 AM, karim torkmen
karim.torkm...@gmail.com mailto:karim.torkm...@gmail.com wrote:
Hi,
I developed a component when I try to run it, I get the following
error message
...@gmail.com
wrote:
Hi Karim,
did you rerun ../configure and make after you edited configure.ac and
Makefile.am?
On Thu, Mar 31, 2011 at 7:42 AM, karim torkmen
karim.torkm...@gmail.com
wrote:
Hi,
I developed a component when I try to run it, I get the following error
message
Hi,
I am developing a new component called try_topology that uses the
bindings_storage component.
When I run it with this command :
- ./nox_core -v -i ptcp:6633 pybindings_storage try_topology
It returns no errors. However, by calling just the try_topolgy
component, I get the following
Hi,
I am trying to retrieve the topology of an openflow network through
pybindings_storage.
Untill now, I succeed to get the different connections between the
switches i.e the tuple (src_dpid,src_port,dst_dpid,dst_port) through the
method get_all_links() which seems to return just teh links
Hi,
I am trying to use the method :
self.bindings.get_names_by_ap(self.datapathid(),2,self.topology_call_back)
Since it needs a datapathid i tried both the constructor datapathid()
and the method create_datapathid_from_host(uint64_t id) given by the
netinet lib, however
On 04/07/2011 05:46 AM, Kyriakos Zarifis wrote:
void get_location_by_name(int64_t locationname, Name::Type
name_type, const Get_locations_callback cb);
Hi Kyriakos,
Thanks for your reply :)
I tried them like this :
get_names_by_mac(create_eaddr('3e:b5:78:95:38:09'), cb)
Hi,
Is there any example that is using the authenticator component, I want
to get access to the Auth_event and the other functionalities of it. I
am having some troubles to install it.
In fact, I did the following:
from nox.netapps.authenticator.pyauth import pyauthenticator
from
Hi all,
I am trying to use the authenticator component, however it seems to be
not fully supported by python. In fact, I get the following error:
Host_auth_event has no C++ to Python event converter
Is there any method to have this event converted to python.
Regards,
Karim
Hi,
When executing the method 'get_names_by_mac()' of py_bindings I get the
following output, which seems a little bit strange :
[(u'authenticated', 2L, -1L), (u'authenticated', 1L, -1L)]
Can you please telle what does this mean ?
Thanks for your help.
Regards,
Karim
On 04/26/2011 07:46 PM, Murphy McCauley wrote:
Actually, I think this event should work and that there is an event converter
for it. Can you share a code snippet that exhibits the problem? And tell us
which branch you're using?
-- Murphy
On Apr 26, 2011, at 7:35 AM, karim torkmen wrote
On 04/28/2011 07:26 PM, Murphy McCauley wrote:
ave you noticed any weird errors from SWIG during the build or anything?
Did you add pyauthenticator as a dependency for your component (though I don't
think this would cause exactly that error)?
Hi Murphy,
In fact, it was a dependency problem :)
Hi,
I need to know what does the following functions do, unfortuanately no
documnetation is provided for them:
- setup_flow(self, flow, dp, outport, bid, buf, timeout,actions, check_nat)
- send_packet(self, dp, inport, outport, bid, buf,
actions, check_nat, flow)
Can
Hi,
I am using the authenticator module.
I registered to the flow in event :
self.register_handler(Flow_in_event.static_get_name(),self.flow_in_call_back)
When I try to get the EtherType of a flow through calling this
parameter: type = event.flow.dl_type
I get EtherType equal to 25480 which is
Hi all,
When trying my controller I noticed some strange behaviour.
In fact, my aim is to set a path from one host to another. I started
doing this by setting it statically. Than I enhanced it using the
routing module to calculate the optimal path. However, when the enhanced
controller is not
it pretty much *is* another controller
that acts like an L2 learning switch. When it reconnects to its controller,
it will stop doing this again.
-- Murphy
On Tuesday, May 03, 2011 10:42:46 AM karim torkmen wrote:
Hi all,
When trying my controller I noticed some strange behaviour.
In fact, my aim
Hi,
Is there any function in nox that allows to select the fields to match
in a flow table (e.g. order the switch to ignore the destination mac
address).
Thanks a lot.
Karim
___
nox-dev mailing list
nox-dev@noxrepo.org
you are trying to do or post some
code.
-- Murphy
On Thursday, May 05, 2011 08:32:42 AM karim torkmen wrote:
Hi,
Is there any function in nox that allows to select the fields to match
in a flow table (e.g. order the switch to ignore the destination mac
address).
Thanks a lot.
Karim
Hi all,
I want to use host tracker in python, but it seems that it is available
just for C++. can anyone please forward to me the necessary files if
available, to wrap this component and make it available to python.
Thanks,
Karim
___
nox-dev mailing
Hi,
i am trying to send a packet through the send_openflow_packet method, to
send the packet i do some processing on dict saved as a global variable
on the form dict {key:[v1,v2],v3,v4}.
When i send the packet the first time everything goes well, but after
the second time, the dict form
Hi all,
I am having some problems by using the get_switch_links method.
This method requires a callback method, however for my program I want
that this method returns a link list. I tried using global variables,
but it seems that the link list that I get is not updated, with the last
link list
Hi all,
I want to know if there is any method that allows to know if a given
link is in a given route and what do the following methods of the
routing module bool is_on_path_location(const RouteId id, uint16_t
src_port, uint16_t dst_port) and void clean_route(const RoutePtr,
RoutePtr, bool)
Hi,
I am developing an application to reroute traffic upon a link failure,
using the routing module to calculate the shortest path. When a link
failure occurs, the application should get a new path using the routing
module. However, when treating the link failure inside a callback of the
into it.
Thanks for the report. Please let us know if you figure anything out!
-- Murphy
On Aug 15, 2011, at 7:48 AM, karim torkmen wrote:
Hi all,
I am writing a module for link protection after a link failure. The problem is
that when I ask for a new route through the get_route() method, after
30 matches
Mail list logo