[ndnSIM] openflow execution under ndnSIM module

Spyridon (Spyros) Mastorakis mastorakis at CS.UCLA.EDU
Tue Sep 8 10:55:32 PDT 2015


Hi,

I think that you should modify the wscript of ndnSIM, so that to include the desired module and also export the desired header files.

--
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
PhD Computer Science
UCLA





> On Sep 7, 2015, at 10:19 AM, rihab jmal <rihab.jmal1 at gmail.com> wrote:
> 
> Hi,
> I'm trying to use openflow-switch example under a new helper located in ndnSIM module, my problem is the following errors related to openflow module:
> /home/rihab/ndnSIM/ns-3/src/openflow/model/openflow-interface.h:83:0: warning: "OFP_SUPPORTED_CAPABILITIES" redefined [enabled by default]
>  #define OFP_SUPPORTED_CAPABILITIES ( OFPC_FLOW_STATS            \
> 
> /home/rihab/openflow/datapath/datapath.h:20:0: note: this is the location of the previous definition
>  #define OFP_SUPPORTED_CAPABILITIES ( OFPC_FLOW_STATS \
> 
> /home/rihab/ndnSIM/ns-3/src/openflow/model/openflow-interface.h:90:0: warning: "OFP_SUPPORTED_ACTIONS" redefined [enabled by default]
>  #define OFP_SUPPORTED_ACTIONS ( (1 << OFPAT_OUTPUT)             \
> 
> /home/rihab/openflow/datapath/datapath.h:25:0: note: this is the location of the previous definition
>  #define OFP_SUPPORTED_ACTIONS ( (1 << OFPAT_OUTPUT) \
> 
> /home/rihab/ndnSIM/ns-3/src/openflow/model/openflow-switch-net-device.h:546:3: error: ‘vport_table_t’ does not name a type
>    vport_table_t m_vportTable;    ///< Virtual Port Table
> /home/rihab/ndnSIM/ns-3/src/openflow/model/openflow-switch-net-device.h:393:45: 
> error: use of enum ‘ofp_flow_expired_reason’ without previous declaration
>    void SendFlowExpired (sw_flow *flow, enum ofp_flow_expired_reason reason);
> Please help me.
> 
> Best Regards,
> Rihab
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim





More information about the ndnSIM mailing list