Examples of OFBasicVendorId


Examples of org.openflow.protocol.vendor.OFBasicVendorId

        if (initialized)
            return;

        // Configure openflowj to be able to parse the role request/reply
        // vendor messages.
        OFBasicVendorId niciraVendorId =
                new OFBasicVendorId(OFNiciraVendorData.NX_VENDOR_ID, 4);
        OFVendorId.registerVendorId(niciraVendorId);
        OFBasicVendorDataType roleRequestVendorData =
                new OFBasicVendorDataType(OFRoleRequestVendorData.NXT_ROLE_REQUEST,
                        OFRoleRequestVendorData.getInstantiable());
        niciraVendorId.registerVendorDataType(roleRequestVendorData);
        OFBasicVendorDataType roleReplyVendorData =
                new OFBasicVendorDataType(OFRoleReplyVendorData.NXT_ROLE_REPLY,
                        OFRoleReplyVendorData.getInstantiable());
        niciraVendorId.registerVendorDataType(roleReplyVendorData);

        initialized = true;
    }
View Full Code Here

Examples of org.openflow.protocol.vendor.OFBasicVendorId

    public static synchronized void initialize() {
        if (initialized)
            return;

        // Configure openflowj to be able to parse the OpenFlow extensions.
        OFBasicVendorId openflowVendorId =
                new OFBasicVendorId(OFOpenFlowVendorData.OF_VENDOR_ID, 4);
        OFVendorId.registerVendorId(openflowVendorId);

        OFBasicVendorDataType queueModifyVendorData =
                new OFBasicVendorDataType(OFQueueModifyVendorData.OFP_EXT_QUEUE_MODIFY,
                        OFQueueModifyVendorData.getInstantiable());
        openflowVendorId.registerVendorDataType(queueModifyVendorData);

        OFBasicVendorDataType queueDeleteVendorData =
                new OFBasicVendorDataType(OFQueueDeleteVendorData.OFP_EXT_QUEUE_DELETE,
                        OFQueueModifyVendorData.getInstantiable());
        openflowVendorId.registerVendorDataType(queueDeleteVendorData);

        initialized = true;
    }
View Full Code Here

Examples of org.openflow.protocol.vendor.OFBasicVendorId

    public static synchronized void initialize() {
        if (initialized)
            return;
   
        OFBasicVendorId bsnVendorId =
                new OFBasicVendorId(OFBigSwitchVendorData.BSN_VENDOR_ID, 4);
        OFVendorId.registerVendorId(bsnVendorId);

        // register data types used for big tap
        OFBasicVendorDataType setEntryVendorData =
                new OFBasicVendorDataType(
                         OFNetmaskSetVendorData.BSN_SET_IP_MASK_ENTRY,
                         OFNetmaskSetVendorData.getInstantiable());
        bsnVendorId.registerVendorDataType(setEntryVendorData);

        OFBasicVendorDataType getEntryVendorDataRequest =
                new OFBasicVendorDataType(
                         OFNetmaskGetVendorDataRequest.BSN_GET_IP_MASK_ENTRY_REQUEST,
                         OFNetmaskGetVendorDataRequest.getInstantiable());
        bsnVendorId.registerVendorDataType(getEntryVendorDataRequest);

        OFBasicVendorDataType getEntryVendorDataReply =
                new OFBasicVendorDataType(
                         OFNetmaskGetVendorDataReply.BSN_GET_IP_MASK_ENTRY_REPLY,
                         OFNetmaskGetVendorDataReply.getInstantiable());
        bsnVendorId.registerVendorDataType(getEntryVendorDataReply);

        // register data types used for tunneling
        OFBasicVendorDataType getIntfIPVendorDataRequest =
                new OFBasicVendorDataType(
                          OFInterfaceIPRequestVendorData.BSN_GET_INTERFACE_IP_REQUEST,
                          OFInterfaceIPRequestVendorData.getInstantiable());
        bsnVendorId.registerVendorDataType(getIntfIPVendorDataRequest);

        OFBasicVendorDataType getIntfIPVendorDataReply =
                new OFBasicVendorDataType(
                          OFInterfaceIPReplyVendorData.BSN_GET_INTERFACE_IP_REPLY,
                          OFInterfaceIPReplyVendorData.getInstantiable());
        bsnVendorId.registerVendorDataType(getIntfIPVendorDataReply);

       
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.