<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic HP SDN in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/hp-sdn/m-p/6810422#M1787</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I want to test meters on my HP E3800 24G-2SFP j9573A switch, but i get this error "Pipeline Definition is not available" when i try to add the flow. How can i solve this problem?&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;P&gt;/****************************************************************************************************************************/&lt;/P&gt;&lt;P&gt;MeterId meterId = MeterId.valueOf(100);&lt;BR /&gt;&lt;BR /&gt;/************************CREATE METER*************************/&lt;BR /&gt;OfmMutableMeterMod meterMod = (OfmMutableMeterMod)MessageFactory.create(Utilities.OF_VERSION, MessageType.METER_MOD);&lt;BR /&gt;&lt;BR /&gt;MeterBand meterBand = MeterBandFactory.createBand(Utilities.OF_VERSION, MeterBandType.DROP, 10, 10);&lt;BR /&gt;meterMod.addBand(meterBand);&lt;BR /&gt;&lt;BR /&gt;meterMod.command(MeterModCommand.ADD)&lt;BR /&gt;.meterId(meterId);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;LOG.info("SwitchListener: meterId {}",meterMod.getMeterId().toString());&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/*************************ADD METER TO SWITCH*************************/&lt;BR /&gt;try {&lt;BR /&gt;mControllerService.sendMeterMod((OfmMeterMod) meterMod.toImmutable(), dpId);&lt;BR /&gt;LOG.info("SwitchListener: Add Meter");&lt;BR /&gt;} catch (OpenflowException e) {&lt;BR /&gt;LOG.error("SwitchListener: Error to add meter");&lt;BR /&gt;LOG.error("SwitchListener: {}", e.getCause());&lt;BR /&gt;return;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;/***********************CREATE METER INSTRUCTION**************************/&lt;BR /&gt;Instruction meterInst = InstructionFactory.createInstruction(Utilities.OF_VERSION, InstructionType.METER, meterId);&lt;BR /&gt;&lt;BR /&gt;/*******************************CREATE FLOW********************************/&lt;BR /&gt;OfmMutableFlowMod flowMod = (OfmMutableFlowMod)MessageFactory.create(Utilities.OF_VERSION, MessageType.FLOW_MOD );&lt;BR /&gt;&lt;BR /&gt;MutableMatch match = MatchFactory.createMatch( Utilities.OF_VERSION )&lt;BR /&gt;.addField( FieldFactory.createBasicField( Utilities.OF_VERSION, OxmBasicFieldType.ETH_TYPE, EthernetType.IPv4 ));&lt;BR /&gt;&lt;BR /&gt;flowMod.match((Match) match.toImmutable());&lt;BR /&gt;flowMod.addInstruction(meterInst);&lt;BR /&gt;&lt;BR /&gt;flowMod.command( FlowModCommand.ADD )&lt;BR /&gt;.hardTimeout(5)&lt;BR /&gt;.idleTimeout(5)&lt;BR /&gt;.priority( 32200 )&lt;BR /&gt;.bufferId( BufferId.NO_BUFFER );&lt;BR /&gt;&lt;BR /&gt;/**************************ADD FLOW TO SWITCH****************************/&lt;BR /&gt;try {&lt;BR /&gt;mControllerService.sendFlowMod((OfmFlowMod) flowMod.toImmutable(), dpId);&lt;BR /&gt;LOG.info("SwitchListener: Add Flow");&lt;BR /&gt;} catch (OpenflowException e) {&lt;BR /&gt;LOG.error("SwitchListener: Error to add flow");&lt;BR /&gt;LOG.error("SwitchListener: {}", e);&lt;BR /&gt;LOG.error("SwitchListener: {}", e.getCause());&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/****************************************************************************************************************************/&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Nov 2015 15:42:11 GMT</pubDate>
    <dc:creator>AiltonLuz</dc:creator>
    <dc:date>2015-11-11T15:42:11Z</dc:date>
    <item>
      <title>HP SDN</title>
      <link>https://community.hpe.com/t5/software-defined-networking/hp-sdn/m-p/6810422#M1787</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I want to test meters on my HP E3800 24G-2SFP j9573A switch, but i get this error "Pipeline Definition is not available" when i try to add the flow. How can i solve this problem?&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;P&gt;/****************************************************************************************************************************/&lt;/P&gt;&lt;P&gt;MeterId meterId = MeterId.valueOf(100);&lt;BR /&gt;&lt;BR /&gt;/************************CREATE METER*************************/&lt;BR /&gt;OfmMutableMeterMod meterMod = (OfmMutableMeterMod)MessageFactory.create(Utilities.OF_VERSION, MessageType.METER_MOD);&lt;BR /&gt;&lt;BR /&gt;MeterBand meterBand = MeterBandFactory.createBand(Utilities.OF_VERSION, MeterBandType.DROP, 10, 10);&lt;BR /&gt;meterMod.addBand(meterBand);&lt;BR /&gt;&lt;BR /&gt;meterMod.command(MeterModCommand.ADD)&lt;BR /&gt;.meterId(meterId);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;LOG.info("SwitchListener: meterId {}",meterMod.getMeterId().toString());&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/*************************ADD METER TO SWITCH*************************/&lt;BR /&gt;try {&lt;BR /&gt;mControllerService.sendMeterMod((OfmMeterMod) meterMod.toImmutable(), dpId);&lt;BR /&gt;LOG.info("SwitchListener: Add Meter");&lt;BR /&gt;} catch (OpenflowException e) {&lt;BR /&gt;LOG.error("SwitchListener: Error to add meter");&lt;BR /&gt;LOG.error("SwitchListener: {}", e.getCause());&lt;BR /&gt;return;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;/***********************CREATE METER INSTRUCTION**************************/&lt;BR /&gt;Instruction meterInst = InstructionFactory.createInstruction(Utilities.OF_VERSION, InstructionType.METER, meterId);&lt;BR /&gt;&lt;BR /&gt;/*******************************CREATE FLOW********************************/&lt;BR /&gt;OfmMutableFlowMod flowMod = (OfmMutableFlowMod)MessageFactory.create(Utilities.OF_VERSION, MessageType.FLOW_MOD );&lt;BR /&gt;&lt;BR /&gt;MutableMatch match = MatchFactory.createMatch( Utilities.OF_VERSION )&lt;BR /&gt;.addField( FieldFactory.createBasicField( Utilities.OF_VERSION, OxmBasicFieldType.ETH_TYPE, EthernetType.IPv4 ));&lt;BR /&gt;&lt;BR /&gt;flowMod.match((Match) match.toImmutable());&lt;BR /&gt;flowMod.addInstruction(meterInst);&lt;BR /&gt;&lt;BR /&gt;flowMod.command( FlowModCommand.ADD )&lt;BR /&gt;.hardTimeout(5)&lt;BR /&gt;.idleTimeout(5)&lt;BR /&gt;.priority( 32200 )&lt;BR /&gt;.bufferId( BufferId.NO_BUFFER );&lt;BR /&gt;&lt;BR /&gt;/**************************ADD FLOW TO SWITCH****************************/&lt;BR /&gt;try {&lt;BR /&gt;mControllerService.sendFlowMod((OfmFlowMod) flowMod.toImmutable(), dpId);&lt;BR /&gt;LOG.info("SwitchListener: Add Flow");&lt;BR /&gt;} catch (OpenflowException e) {&lt;BR /&gt;LOG.error("SwitchListener: Error to add flow");&lt;BR /&gt;LOG.error("SwitchListener: {}", e);&lt;BR /&gt;LOG.error("SwitchListener: {}", e.getCause());&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/****************************************************************************************************************************/&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 15:42:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/hp-sdn/m-p/6810422#M1787</guid>
      <dc:creator>AiltonLuz</dc:creator>
      <dc:date>2015-11-11T15:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: HP SDN</title>
      <link>https://community.hpe.com/t5/software-defined-networking/hp-sdn/m-p/6811082#M1788</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for contacting the HPE SDN Team. In order for our team to better provide you with an answer we&amp;nbsp;would need more information about your request. We would would like to know if you have tried inserting a barrier_request into the code before sending the flow mod?&lt;/P&gt;&lt;P&gt;We would also like to know:&lt;/P&gt;&lt;P&gt;1. version of switch firmware&lt;/P&gt;&lt;P&gt;2. version of SDN Controller&lt;/P&gt;&lt;P&gt;3. packet capture of the OpenFlow messages between the controller and the switch at the time the code is executed.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;P&gt;HPE CoE SDN Team&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 15:20:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/hp-sdn/m-p/6811082#M1788</guid>
      <dc:creator>Carlos</dc:creator>
      <dc:date>2015-11-13T15:20:58Z</dc:date>
    </item>
  </channel>
</rss>

