On Wed, 7 Mar 2012 20:55:40 +0900 Isaku Yamahata <[email protected]> wrote:
> Signed-off-by: Isaku Yamahata <[email protected]> > --- > ryu/{controller/dp_type.py => ofproto/desc.py} | 33 ++++++++++++++++------- > 1 files changed, 23 insertions(+), 10 deletions(-) > copy ryu/{controller/dp_type.py => ofproto/desc.py} (50%) > > diff --git a/ryu/controller/dp_type.py b/ryu/ofproto/desc.py > similarity index 50% > copy from ryu/controller/dp_type.py > copy to ryu/ofproto/desc.py > index 772f048..d9f964e 100644 > --- a/ryu/controller/dp_type.py > +++ b/ryu/ofproto/desc.py > @@ -13,14 +13,27 @@ > # You should have received a copy of the GNU General Public License > # along with this program. If not, see <http://www.gnu.org/licenses/>. > > -# > -# datapath type > -# At this moment, this information is not used yet and unknown type is > -# defined as place-holder. > -# switches are categorized by its rolls and openflow controller may want to > -# handle switch differently depending on it role. > -# > -# unknown: > -# > +# list of known desc stats > + > +# Open vSwtich > +MFR_DESC_NICIRA = 'Nicira Networks, Inc.' > +HW_DESC_OPENVSWITCH = 'Open vSwitch' > +SERIAL_NUM_OPENVSWITCH = 'None' > +DP_DESC_OPENVSWITCH = 'None' > + > + > +# oflops cbench > +MFR_DESC_CBENCH = 'Cbench - controller I/O benchmark' > +HW_DESC_CBENCH = 'this is actually software...' > +SERIAL_DESC_CBENCH = 'none' > +DP_DESC_CBENCH = 'none' They need to be placed in a global place? ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
