- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- Re: 2 output ports actions under instruction not w...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2014 03:56 AM
07-24-2014 03:56 AM
2 output ports actions under instruction not working HP5900
Hello guys
I tried to insert under instruction , 2 actions which are 2 output ports on the HP5900 switch .
for some reason this particular flow not working .
i dont see any errors in the log file . in the switch itself also no indication of succes or failure.
Also i wiresharked the flow installation process and controller sends the flow correctly .
Here is the code :
MutableMatch m221 = MatchFactory.createMatch( ProtocolVersion.latest() )
.addField( FieldFactory.createBasicField( ProtocolVersion.latest(), OxmBasicFieldType.ETH_TYPE, EthernetType.ARP ))
.addField( FieldFactory.createBasicField( ProtocolVersion.latest(), OxmBasicFieldType.IN_PORT, BigPortNumber.valueOf(11)));
fm221.match( (Match)m221.toImmutable() );
//Action arpAction = ActionFactory.createAction( ProtocolVersion.latest(), ActionType.OUTPUT, Port.NORMAL);
Action arpAction221 = ActionFactory.createAction( ProtocolVersion.latest(), ActionType.OUTPUT, BigPortNumber.valueOf(45));
Action arpAction222 = ActionFactory.createAction( ProtocolVersion.latest(), ActionType.OUTPUT, BigPortNumber.valueOf(46));
InstrMutableAction write555 = InstructionFactory.createMutableInstruction(ProtocolVersion.V_1_3, InstructionType.WRITE_ACTIONS);
write555.addAction(arpAction221);
write555.addAction(arpAction222);
fm221.addInstruction((Instruction) write555.toImmutable());
fm221.command( FlowModCommand.ADD )
.hardTimeout(0)
.idleTimeout(0)
.priority( 50555 )
.tableId(TableId.valueOf(0))
.bufferId( BufferId.NO_BUFFER )
.cookie(0x3333);
try{
mControllerService.sendFlowMod( (OfmFlowMod)fm221.toImmutable(), dpId );
LOG.info( "Flow arp was installed" );
}
catch( Exception e ) {
LOG.info( "MyBlacklist: SwitchListener: setInitialFlows() exception: {}", e );
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2014 10:48 PM
08-21-2014 10:48 PM
Re: 2 output ports actions under instruction not working HP5900
Hello vmoki,
Apologies for the delay.
H3C doesn’t support multiple output ports in a flow (yet).
Thanks,
HP SDN Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2014 04:56 AM
08-27-2014 04:56 AM
Re: 2 output ports actions under instruction not working HP5900
Thanks for the reply .
Maybe that is possible to achieve via group ? i think group is exactly for those replication actions ? if yes please send an a java code example .
Thanks