Quantcast
Channel: Software Defined Networking topics
Viewing all 611 articles
Browse latest View live

OF rule won't output on port unless arp table populated

$
0
0

Hi All,

Consider the following topology where h1 and h2 are end hosts, s1 and s2 are OF-enabled HPE L2 switches, and r1 is an OF-enabled HPE L3 switch/router.

h1 --- s1 ------- (port 1) - r1 - (port 2) ------- s2 --- h2

On r1 port 1, we have VLAN 2 with IP address 172.23.7.161/29. On r1 port 2, we have VLAN 3 with IP address 172.23.7.169/29. Routing is enabled.

We have found that traffic traveling from h1 to h2 (or vice versa) over the NORMAL rule will flow correctly. However, we added an OpenFlow rule with higher priority than NORMAL in r1. It matches a very specific TCP flow from h1 to h2. The actions for the rule are to rewrite the MAC addresses correctly, change the VLAN, and output on port 1 or port 2 (we have two flows to create a bidirectional path). We send test traffic from h1 to h2 that matches the flow. We observe two possible outcomes.

Outcome 1
Everything functions as normal. The MACs and VLAN are rewritten, and the packets are forwarded correctly.

Outcome 2
Packets match the rule in r1, but no packets leave the outgoing port. We verified this by monitoring the outgoing port for traffic. Thus, the packet is being dropped by the HPE switch *after* matching an OpenFlow rule instruction the packet to output on a specific port.

We discovered that outcome 2 happens whenever r1's ARP table loses its entries for h1 or h2. Our question is why? We understand that for NORMAL to work, the router must ARP for h1 or h2 in order to encapsulate the packet in a new L2 frame. However, at the OpenFlow layer, we are rewriting MAC addresses ourselves (i.e., doing what the router would do if it had static ARP entries). Shouldn't this bypass the router's default processing? Why does the router need to know about neighbors for a very specific OpenFlow rule to work?

Thanks!


Adding a meter Openflow entry on 2920-24G

$
0
0

Hi,

I am using hp 2920-24G Switch with the following version:

Aug 29 2016 12:09:14
WB.16.02.0012
485
Boot Image: Primary

Boot ROM Version: WB.16.03
Active Boot ROM: Primary

I using a floodlight controller and an aggregate OpenFlow instance. I was successfully able to create a meter with id =1.

HP-2920-24G(of-inst-aggregate)# sh openflow inst agg meter

OpenFlow Instance Meters

Meter ID : 1
Flow Count : 0
Input Packet Count : 0
Input Byte Count : 0
Duration : 152

Packet/Byte
Band Type Rate Count
--------- ---------------- --------------------
Drop 30000 kbps 0

I want to create a flow entry that would direct all packets coming from in-port 2 into meter 1 then out to port 3. I use the following floodlight REST call:

curl -X POST -d '{"switch":"00:02:48:0f:cf:0c:b1:c0", "name":"flow-mod-1","table": "100" ,"cookie":"0", "priority":"1000", "in_port":"2","active":"true","instruction_goto_meter":"1","actions":"output=3"}' http://127.0.0.1:8080/wm/staticflowpusher/json

A flow entry is created however the meter instruction is ignored.

Flow 2
Match
Incoming Port : 2 Ethernet Type : Any
Source MAC : Any Destination MAC : Any
Source MAC Mask : 000000-000000
Destination MAC Mask : 000000-000000
VLAN ID : Any VLAN Priority : Any
Source IP Address : Any
Destination IP Address : Any
IP Protocol : Any
IP ECN : Any IP DSCP : Any
Source Port : Any Destination Port : Any
Source Port Range : NA
Destination Port Range : NA
TCP Flags : NA
TCP Mask : NA
Attributes
Priority : 1000 Duration : 5 seconds
Hard Timeout : 0 seconds Idle Timeout : 0 seconds
Byte Count : NA Packet Count : 0
Flow Table ID : 100 Controller ID : 1
Cookie : 0xa000004039d1ad
Hardware Index: 17
Instructions
Apply Actions
Output : 3

 

If I send the same command but without the output action:

curl -X POST -d '{"switch":"00:02:48:0f:cf:0c:b1:c0", "name":"flow-mod-2","table": "100" ,"cookie":"0", "priority":"1000", "in_port":"2","active":"true","instruction_goto_meter":"1"}' http://127.0.0.1:8080/wm/staticflowpusher/json

The meter instruction is set correclty:

Flow 2
Match
Incoming Port : 2 Ethernet Type : Any
Source MAC : Any Destination MAC : Any
Source MAC Mask : 000000-000000
Destination MAC Mask : 000000-000000
VLAN ID : Any VLAN Priority : Any
Source IP Address : Any
Destination IP Address : Any
IP Protocol : Any
IP ECN : Any IP DSCP : Any
Source Port : Any Destination Port : Any
Source Port Range : NA
Destination Port Range : NA
TCP Flags : NA
TCP Mask : NA
Attributes
Priority : 1000 Duration : 48 seconds
Hard Timeout : 0 seconds Idle Timeout : 0 seconds
Byte Count : NA Packet Count : 4
Flow Table ID : 100 Controller ID : 1
Cookie : 0xa000004039d1ad
Hardware Index: 0
Instructions
Meter ID : 1

OpenFlow Instance Meters

Meter ID : 1
Flow Count : 1
Input Packet Count : 0
Input Byte Count : 0
Duration : 430

Packet/Byte
Band Type Rate Count
--------- ---------------- --------------------
Drop 30000 kbps 0

Thus, I am struggling to add a flow entry that would set the meter and then an output port action. If you think it is a problem related to floodlight and not the switch let me know and I can look into the issue in the floodlight forums.

 

Thank you very much,

Enas

Monitor VTEP packet

$
0
0

This is not quite SDN question but still closely related to SDN because when we are talking about the concept of "SDN via hypervisor virtualization", then topic of VTEP constantly is touched.

I am wondering what is the way to analyze the VTEP (VXLAN etc.,) packet. I initially thought about doing through ESXi host but with ESXi is being so restrictive, I thought use linux.

Since linux has kvm virtualization support and also can easily setup and run wireshark for me it appears to be a natural. The only uncertainty is i have never tried to setup two linux virtualization host managed from same multi-host client (like vSphere) and not sure if this is possible. I would not get into Hyper-v because  specially with multiple virtualization host, it just too complicated.

Once I setup to linux virtualization host setup and create VM-s on each and starts sending packets to each other, I am presuming that I can capture the VTEP packet and analyze.

Will it work?

Thanks.,

 

Openflow HP ProCurve 6600-24g-4xg

$
0
0

Hi,

I'm Msc student on faculty of electrical engineering. I have to create an OpenFlow testbed which might be consisted of more Openflow instances. So, could anyone tell me is it possible to configure one HP ProCurve 6600-24g-4xg switch to work as more Openflow switches which can communicate to each other, and be viewed by the controller as separated openflow switches (although it is one phisical openflow switch)??

I found that is possible to implement more openflow instances using virtualisation mode, but if I understood correctly they cannot be configured to communicate to each other...
On the other hand, I read one research paper where it seems that authors managed to make data center topology from a single HP procurve switch.

Can you provide me some hints about how can I do the same, or just give me any feedback so that I can know is that possible or not?

Thanks.

Metering in Software Tables HP 2920

$
0
0

Hi,

I am using HP2920, WB.16.02.0012. I wanted to create a meter entry in table 200 and was surprised that it does not support metering, is that correct ? Is table 100 the only table that supports metering ?? 

Becuase that would actually create great limitations since table 100 have very narrow number of match fields.

So my question is: is there a way to have a table with the full flow match fields supported by tables 200-203 and the metering instruction capability of table 100 ?

Thanks,

Enas

I am unable update my HPE Net Protector RepDV licence

$
0
0

Hi All

Any ideas for the problem below, I cannot find any online troubleshooting on this

Thank you

Barry

--------

Problem: I am unable update my HPE Net Protector RepDV licence

I have done the following:

My current Trial licenses for Net Protector expired

I did the following:

  • Removed Net Protector App
  • Uninstalled the controller
  • Re-installed the controller

With the new Controller ID I generated new demo licenses for the controller

I installed the following active Licenses:

  • HPE VAN SDN Ctrl Base SW w/50-node E-LTU
  • HPE Net Protector SDN App 250-user E-LTU
  • HPE Net Protector RepDV licence

From the Controller

  • I have internet access
  • I can resolve tippingpoint.com

 

However, after every 10min update from the Net Protector Admin page it says:

Updates unsuccessful

RepDV Activation Validation Status invalid

 

I have done this before and it worked 100%

Any ideas, thanks again

Threads in HP-VAN

$
0
0

Hi, I want to develop a module for HPVAN 2.7.0 that uses threads to collect counters from switches. Under my model, a flow is constituted by a Match and a list of DPIDs. What I want to do is to let 'assign' a thread to each DPID such that, each thread will be in charge of constantly sending/receiving OF request/reply messages to/from the assigned DPID.

Here's an initial code snippet:

private List<Flow.CounterElem> getFlowCounters(long cookie, long cookieMask, Flow v) throws OpenflowException, InterruptedException {

	List<Flow.CounterElem> counters = Collections.synchronizedList(new ArrayList<Flow.CounterElem>());
	List<DataPathId> randomDpids = new ArrayList<DataPathId>(v.dpidOnlyList());  //copy array, not reference to original array
	Collections.shuffle(randomDpids, new Random(System.nanoTime()));
	for (DataPathId dp: randomDpids){
		StatsCollectorByCookie thread = new StatsCollectorByCookie(counters, dp, cookie, cookieMask);
		thread.run();
         }	
         return counters;
}

public class StatsCollectorByCookie implements Runnable {
	private List<Flow.CounterElem> counterlist;
	private DataPathId dpid;
	private long cookie;
	private long cookieMask;
	public StatsCollectorByCookie(List<Flow.CounterElem> result, DataPathId dp, long cookie, long mask){
		this.counterlist = result;
		this.dpid = dp;
		this.cookie = cookie;
		this.cookieMask = mask;
	}
	@Override
	public void run() {
    	Flow.CounterElem elem;
    	try {
    		elem = getDatapathCounters(cookie, cookieMask, dpid);  //Create MBodyMutableFlowStatsRequest, sends it to switch and return response data
    		if (elem != null)
    			counterlist.add(elem);
    	} catch (OpenflowException | InterruptedException e) {
    		log.info("There's an error with thread collecting data from ", this.dpid.toString());
    		e.printStackTrace();}
	}		
}

 I'd like to have some feedback with respect to the following points:

1. Is this the right way to spawn threads in HP VAN? The programming guide does mention something about threads but does not provide any code on how to properly implement them. Also, there are a couple of Thread - Executor classes in HP's API, so I am wondering if I should use them instead.

2. As a follow-up from 1. Should I rather use ThreadPool/ExecutorService?

3. Assuming those counters will be queried constantly and an external service will get them via REST, is the above approach an efficient way of creating threads? or I am better off spawing a thread (T) whenever a flow is created (i.e. I will have a thread per flow rather than a thread per dpid in flow) and let T handle OF messages for that flow and put that information in a variable which can be further accessed via REST.

Thanks!

Want to use hardware flow-table on my HPE Openflow switch

$
0
0

Hi,

I want to use hardware flow-table on my HP openflow switch, but when I type command flow-location hardware-only, I get next message on the controller:

[openflow.of_01 ] [2c-41-38-1b-43-80|30 8] connected
[openflow.of_01 ] [2c-41-38-1b-43-80|30 8] OpenFlow Error:
[2c-41-38-1b-43-80|30 8] Error: header:
[2c-41-38-1b-43-80|30 8] Error: version: 1
[2c-41-38-1b-43-80|30 8] Error: type: 1 (OFPT_ERROR)
[2c-41-38-1b-43-80|30 8] Error: length: 76
[2c-41-38-1b-43-80|30 8] Error: xid: 229
[2c-41-38-1b-43-80|30 8] Error: type: OFPET_FLOW_MOD_FAILED (3)
[2c-41-38-1b-43-80|30 8] Error: code: OFPFMFC_EPERM (2)
[2c-41-38-1b-43-80|30 8] Error: datalen: 64
[2c-41-38-1b-43-80|30 8] Error: 0000: 01 0e 00 50 00 00 00 e5 00 10 00 07 00 00 00 00 ...P............
[2c-41-38-1b-43-80|30 8] Error: 0010: 00 00 00 00 01 23 20 00 00 01 00 00 00 00 88 cc .....# .........
[2c-41-38-1b-43-80|30 8] Error: 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[2c-41-38-1b-43-80|30 8] Error: 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Do you know how to enable it?

Greetings,

Jovo


HP ProCurve 6600-24g-4xg

$
0
0

Hi guys,

Can anyone tell me is it possible to change flow location from 'software' to 'hardware and software' in OpenFlow v1.0? Beceuse, in software mode is possible to forward only 100 pps by default, and speed is too slow.

Thanks,

Gojko

 

How to listen to MESSAGE_TX Events

$
0
0

Hi, 

My application is able to listen to Error Messages by implementing the MessageListener interface. Whenever an error occurs due to FLOW_MOD_FAILED#TABLE_FULL I am able to get the RX message and extract info like the transaction id (xid). However, in order for the xid to be useful, I'd need to store or know info about the corresponding TX message that caused the error (in particular the cookie value of the sent flow mod). How to do that?

HP's API doc states "Note that the MESSAGE_TX event type will never be seen by a message listener;" so I don't know how to get it.

One solution is to sendConfirmedFlowMods but due to its blocking nature my application significantly slows down. Errors are not frequent and that's why I use unconfirmed flowmods but I do need to capture them when the table is full.  

Thanks in advance. 

Checho

One port failure mass up hole network

$
0
0

Hi,

I have a network with 23 managed switch (J9539A, J9625A, J9565A) connected via optical cables. There are 6 loops and I use spanning tree. It's a CCTV netwok so on access port there are PoE cameras which cameras communicating with servers with multicast traffic.

I experienced that video streams messed up, live streams arrived but sometimes they wasn't full (because of packet loss). After a day I found one J9565A switch had 100% CPU process, and it was only because of 1!! camera. After I disabled the port the CPU went back to 3-4% and every problem disappeared from the network.

My question is: How can a single access device confuse a switch to increase it's CPU to mess up my hole network?

How to connect HP 2920 and OpenVswitch?

$
0
0

This is my topology:

arch4.jpg

There have another question.

When I connect a links between the switches.

To create the data plane.

but route problem extends.

In OVS I can set where the packet forward to specific ethernet card, How do i set the route table in hp 2920 switch?

That not like the OVS has specific ethernet interface.

and these three switches not in the same subnet.

I try to use mininet(miniedit) create a topology.

and type "s1 route -n" to observe the route table.

But it's to simple that is not fit reality.

Where i need to modify to realistic.

Finally, I need ping the three switches each other.

Using Hardware flows-table with hp 2920 24g

$
0
0

Hi,

I am using an HP 2920 24g (J9727A)  switch as an OpenFlow switch. I have 3 PCs connected to this switch:

- PC1 : Beacon controller as SDN Controller

- PC2 and PC3 : Hosts in the Data Plane

 

My switch configuration is :

- OpenFlow version 1.0 (Beacon Controller only support OpenFlow v1.0)

- Software revision : WB.16.03.0003

- ROM Version : WB.16.03

 

My problem :

When I Ping PC3 from PC2, flows are added to the switch, and all packets are able to pass through the switch. But, the Round Trip Time is 2 ms (which is very high compared to normal RTT of 0.2 ms) . So I checked the flows-table in the switch, using 'show openflow instance <inst_name> flows' command. This is one of my flow :

 Flow 4
 Match
  Incoming Port : 13                    Ethernet Type    : IP
  Source MAC    : 047d7b-a27aac         Destination MAC  : 003053-14c386
  Destination MAC Mask : ffffff-ffffff
  VLAN ID       : Any                   VLAN Priority    : Any
  Source IP Address      : Any
  Destination IP Address : Any
  IP Protocol   : Any                   IP ToS Bits      : Any
  Source Port   : Any                   Destination Port : Any
 Attributes
  Priority      : 0                     Duration         : 2 seconds
  Hard Timeout  : 0 seconds             Idle Timeout     : 20 seconds
  Byte Count    : 196                   Packet Count     : 2
  Controller ID : 1                     Cookie           : 0x0
  Flow Location : Software
  Hardware Index: NA
  Reason Code        : 2
  Reason Description : The rule has a match criterion for MAC address
 Actions
    Output                  : 11

 

Additionnal Information :

The match used for the previous flow is only made using the MAC source, MAC destination addresses and the Ethernet type. We can see from the flow displayed above, that "The rule has a match criterion for MAC Address".

So i tried to add an other flow, using a very simple match, only based on the incoming port, and this flow was added in the hardware flows-table.

 

Questions :

First of all, is it possible to add flow in hardware flow-table, using match based on MAC addresses, , in hp 2920 24g switch?

Secondly, what are the limitations of the hardware flow-table, in term of matching criterion?

 

Best regards,

Marius.

 

OpenFlow capability differences between new Aruba's (2930F, 3810, 5400R)

$
0
0

Hi,

I'm looking at the new Aruba switches (2930F, 3810, 5400R) for OpenFlow development, and in particular their custom pipeline support.

Is there a difference between between them other than backplane bandwidth and port configurations for an OpenFlow use case. Is the custom OpenFlow pipeline the same on each in terms of capacity and features? Or any other reason one is better than another?

Thanks,

Richard

Troubles setting up Visualizer with 3810

$
0
0

 

Hi!

We're having some troble getting Network Visualizer work with 3810 switches. We have this really simple setup; two hosts connected to the switch and a HP VAN controller using oobm.

When we try to deploy a capture session, we get the following error: "Deploy failed, reattempt in progress". According to the manual, we should wait till the switch to recovers, but we have already waited days without any improvement. We also tried the same setup with OpenvSwitch and mininet and both worked just fine, so I guess we have some configuration issues with our 3810, but can't pinpoint the exact mistakes...  

I've included relevant lines from the log file as well as our switch configuration. 

[2017-01-16 09:31:22.203] INFO  http-bio-8443-exec-2         hp.sdn.mv.monitor                                                 Session name Test_Capture ,operation attempted START  
[2017-01-16 09:31:22.216] INFO  http-bio-8443-exec-2         hp.sdn.mv.monitor                                                 Advanced capture creation 
[2017-01-16 09:31:22.231] INFO  http-bio-8443-exec-2         hp.sdn.mv.monitor                                                 valid switch selection case..add to map 
[2017-01-16 09:31:22.233] INFO  http-bio-8443-exec-2         hp.sdn.mv.monitor                                                 valid switch selection case..add to map 
[2017-01-16 09:31:22.234] INFO  http-bio-8443-exec-2         hp.sdn.mv.monitor                                                 synthesized DeviceCaptureSessionConfig [RawDeviceMonitorConfig [id=null]] 
[2017-01-16 09:31:22.235] INFO  http-bio-8443-exec-2         hp.sdn.mv.monitor                                                 devConfigList size:1 
[2017-01-16 09:31:22.235] INFO  http-bio-8443-exec-2         hp.sdn.mv.deviceMgmt                                              switch IP  20.0.0.102  
[2017-01-16 09:31:22.236] INFO  http-bio-8443-exec-2         hp.sdn.mv.deviceMgmt                                              Device object  { Device:name=3810M-24G-1-slot Switch,ip=20.0.0.102,dpid=00:14:70:10:6f:8e:d9:00,vendor=HP,firmware=KB.16.01.0004,snmp-details=adminuser,ports=[],,vlan=0  
[2017-01-16 09:31:22.253] INFO  http-bio-8443-exec-2         hp.sdn.mv.deviceMgmt                                              inside create Service Insertion capture session 
[2017-01-16 09:31:22.280] ERROR http-bio-8443-exec-2         hp.sdn.mv.deviceMgmt                                              SNMP error:RESPONSE_PDU_VARBIND_ERROR cause:null  
[2017-01-16 09:31:22.280] INFO  http-bio-8443-exec-2         hp.sdn.mv.deviceMgmt                                              tunnel does not exists ...snmp... .create a new one 
[2017-01-16 09:31:22.330] ERROR http-bio-8443-exec-2         hp.sdn.mv.deviceMgmt                                              SNMP write error:RESPONSE_PDU_ERROR cause:null  
[2017-01-16 09:31:22.342] ERROR http-bio-8443-exec-2         hp.sdn.mv.deviceMgmt                                              Tunnel creation on switch failed SNMP Exception:{} com.hp.mvisor.common.exception.dm.SnmpException: null
[2017-01-16 09:31:22.441] INFO  http-bio-8443-exec-2         hp.sdn.mv.deviceMgmt                                              inside create Service Insertion capture session 
[2017-01-16 09:31:22.469] ERROR http-bio-8443-exec-2         hp.sdn.mv.deviceMgmt                                              SNMP error:RESPONSE_PDU_VARBIND_ERROR cause:null  
[2017-01-16 09:31:22.469] INFO  http-bio-8443-exec-2         hp.sdn.mv.deviceMgmt                                              tunnel does not exists ...snmp... .create a new one 
[2017-01-16 09:31:22.515] ERROR http-bio-8443-exec-2         hp.sdn.mv.deviceMgmt                                              SNMP write error:RESPONSE_PDU_ERROR cause:null  
[2017-01-16 09:31:22.517] ERROR http-bio-8443-exec-2         hp.sdn.mv.deviceMgmt                                              Tunnel creation on switch failed SNMP Exception:{} com.hp.mvisor.common.exception.dm.SnmpException: null
[2017-01-16 09:31:22.521] ERROR http-bio-8443-exec-2         hp.sdn.mv.deviceMgmt                                              SNMP error:RESPONSE_PDU_ERROR cause:null configError:null  
[2017-01-16 09:31:22.521] INFO  http-bio-8443-exec-2         hp.sdn.mv.monitor                                                 DEVICE_FAILED_CREATE 
[2017-01-16 09:31:22.522] INFO  http-bio-8443-exec-2         hp.sdn.mv.monitor                                                 Updating filter status 
[2017-01-16 09:31:22.555] INFO  http-bio-8443-exec-2         hp.sdn.mv.monitor                                                 Calculated state : FAILED 
[2017-01-16 09:31:22.571] INFO  http-bio-8443-exec-2         hp.sdn.mv.monitor                                                 updateCaptureConfigStatus -state updated deploy:true, state:FAILED 
[2017-01-16 09:31:22.579] INFO  http-bio-8443-exec-2         hp.sdn.mv.monitor                                                 DEVICE_AVAILABILITY_CHANGED failed 20.0.0.102 size 1 
[2017-01-16 09:31:22.579] INFO  http-bio-8443-exec-2         hp.sdn.mv.monitor                                                 DEVICE_AVAILABILITY_CHANGED failed 20.0.0.102 size 1 
[2017-01-16 09:31:22.583] INFO  http-bio-8443-exec-2         hp.sdn.mv.monitor                                                 DAL completed the Capture Session activation process. 
[2017-01-16 09:31:22.596] ERROR http-bio-8443-exec-2         hp.sdn.rs                                                         Capture sesson start failed: com.hp.mvisor.common.config.MonitorOperationException: Activate:Failed 
[2017-01-16 09:31:22.599] ERROR http-bio-8443-exec-2         hp.sdn.rs                                                         Capture sesson Activate:Failed 
[2017-01-16 09:31:22.783] INFO  http-bio-8443-exec-11        hp.sdn.mv.monitor                                                 Fetching filter table for CaptureSessionid:3c0b5032-d9e2-4764-8425-121bdfb1c25e 
[2017-01-16 09:31:22.789] INFO  http-bio-8443-exec-11        hp.sdn.mv.monitor                                                 Fetching filters for CaptureSession id:3c0b5032-d9e2-4764-8425-121bdfb1c25e 

 

Running configuration:

; JL071A Configuration Editor; Created on release #KB.16.01.0004
; Ver #0c:01.7c.59.f4.7b.ff.ff.fc.ff.ff.3f.ef:

hostname "Aruba-Y"
module 1 type jl071x
flexible-module A type JL083A
fault-finder broadcast-storm sensitivity high
fault-finder bad-driver sensitivity high
fault-finder bad-transceiver sensitivity high
fault-finder bad-cable sensitivity high
fault-finder too-long-cable sensitivity high
fault-finder over-bandwidth sensitivity high
fault-finder loss-of-link sensitivity high
fault-finder duplex-mismatch-hdx sensitivity high
fault-finder duplex-mismatch-fdx sensitivity high
fault-finder link-flap sensitivity high
snmp-server community "public" unrestricted
snmpv3 enable
snmpv3 group managerauth user "adminuser" sec-model ver3
snmpv3 user "adminuser"
snmpv3 user "initial"
openflow
   controller-id 11 ip 20.0.0.11 controller-interface oobm
   instance "testi20"
      member vlan 20
      controller-id 11
      version 1.3 only
      enable
      exit
   enable
   exit
oobm
   ip address 20.0.0.102 255.255.255.0
   exit
vlan 1
   name "DEFAULT_VLAN"
   no untagged 1-8,19-24
   untagged 9-18,A1-A4
   ip address 192.168.1.102 255.255.255.0
   exit
vlan 10
   name "vlan10"
   untagged 1-8
   no ip address
   exit
vlan 20
   name "vlan20"
   untagged 19-24
   no ip address
   exit

 BR,
Juuso


Questions about the steps to create a simple SFC ?

$
0
0

I am a newbie for join ODL.

I need to create a SFC.

SFC arc.png

This is my simple sfc topology.

I tried to understand odl sfc104 how to building a sfc on my physical machine.

And then install https://github.com/yyang13/ovs_nsh_patches/blob/master/start-ovs-deb-2.6.1.sh#L1 on switch node

Create two bridge in switch1 and switch2 using vxlan.vxlan.png

But it looks like this approach is wrong.

Will be able to provide me a guide that using ovs to building a SFC?

Thanks a lot.

HP VAN SDN not listening on port 8443

$
0
0

Hi,

I know this question was asked before, but I am still unable to solve my problem.

I have installed hpe-van-sdn-ctlr-2.7.18-x64 successfully without any errors. However, it is not binding to port 8443, so I am not able to open the web UI. Here is the info:

enas@Enas-WorkStation:~$ uname -a
Linux Enas-WorkStation 3.19.0-69-generic #77~14.04.1-Ubuntu SMP Tue Aug 30 01:29:21 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
enas@Enas-WorkStation:~$ sudo service sdnc status
sdnc start/running, process 23183
enas@Enas-WorkStation:~$ sudo service sdna status
sdna start/running, process 23181
enas@Enas-WorkStation:~$ sudo service keystone status
keystone start/running, process 16933
enas@Enas-WorkStation:~$ sudo dpkg -l | grep -i sdn
ii  hp-sdn-ctl                                            2.7.18.0503                                         amd64        HP VAN SDN Controller
enas@Enas-WorkStation:~$ sudo dpkg -l | grep -i keystone
ii  keystone                                              1:2014.2.4-0ubuntu1~cloud2                          all          OpenStack identity service - Daemons
ii  keystone-doc                                          1:2014.2.4-0ubuntu1~cloud2                          all          OpenStack identity service - Documentation
ii  python-keystone                                       1:2014.2.4-0ubuntu1~cloud2                          all          OpenStack identity service - Python library
ii  python-keystoneclient                                 1:0.10.1-0ubuntu1.2~cloud0                          all          Client library for OpenStack Identity API
ii  python-keystonemiddleware                             1.0.0-1ubuntu0.14.10.3~cloud0                       all          Middleware for OpenStack Identity (Keystone) - Python 2.x
enas@Enas-WorkStation:~$ netstat -na | grep 8443
enas@Enas-WorkStation:~$ sudo cat /var/log/sdn/virgo/logs/log.log | grep -i except            hp.cass.conn                                                      Retrying connection due to PersistenceException 
enas@Enas-WorkStation:~$ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 auto mode
* 1 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 manual mode
2 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 manual mode


sudo cat /var/log/sdn/virgo/logs/log.log | grep -i except
[2017-01-24 15:41:44.959] WARN system-artifacts com.hazelcast.osgi.OSGiScriptEngineManager Found ScriptEngineFactory candidate for com.sun.script.javascript.RhinoScriptEngineFactory, but cannot load class! -> org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: com.sun.script.javascript.RhinoScriptEngineFactory in KernelBundleClassLoader: [bundle=com.hazelcast_3.3.4]
[2017-01-24 15:42:09.656] INFO SequencerThread hp.cass.conn Retrying connection due to PersistenceException
[2017-01-24 15:42:13.391] INFO TaskExecSched-2-thread-2 hp.cass.conn Retrying connection due to PersistenceException
[2017-01-24 15:42:14.671] INFO SequencerThread hp.cass.conn Retrying connection due to PersistenceException
enas@Enas-WorkStation:~$ sudo tail /var/log/sdn/admin/stdout.log
Jan 24, 2017 3:41:59 PM com.hp.sdn.admin.AdminHealthAlertHandler$1 run
INFO: Alert listener not registered. Will try again in 2048 seconds(s)
Jan 24, 2017 3:42:01 PM com.hp.sdn.admin.AdminHealthAlertHandler$1 run
INFO: Alert listener not registered. Will try again in 4096 seconds(s)
Jan 24, 2017 3:42:05 PM com.hp.sdn.admin.AdminHealthAlertHandler$1 run
INFO: Alert listener not registered. Will try again in 8192 seconds(s)
Jan 24, 2017 3:42:13 PM com.hp.sdn.admin.AdminHealthAlertHandler$1 run
INFO: Alert listener not registered. Will try again in 16384 seconds(s)
Jan 24, 2017 3:42:13 PM com.hp.sdn.admin.AdminHealthAlertHandler$1 run
WARNING: Failed to register Alert Listener.
enas@Enas-WorkStation:~$ sudo tail /var/log/sdn/virgo/stdout.log[2017-01-24 15:42:20.321] start-signalling-2 <DE0005I> Started bundle 'com.hp.sdn.sdn-ctl-oflinkdisco' version '2.7.18'.
[2017-01-24 15:42:20.322] start-signalling-2 <DE0005I> Started plan 'com.hp.sdn.ctl.oflinksupplier' version '2.7.18'.
[2017-01-24 15:42:20.464] SequencerThread <DE0000I> Installing plan 'com.hp.sdn.ctl.path' version '2.7.18'.
[2017-01-24 15:42:20.470] SequencerThread <DE0000I> Installing bundle 'com.hp.sdn.sdn-ctl-path' version '2.7.18'.
[2017-01-24 15:42:20.487] SequencerThread <DE0001I> Installed bundle 'com.hp.sdn.sdn-ctl-path' version '2.7.18'.
[2017-01-24 15:42:20.487] SequencerThread <DE0001I> Installed plan 'com.hp.sdn.ctl.path' version '2.7.18'.
[2017-01-24 15:42:20.491] SequencerThread <DE0004I> Starting plan 'com.hp.sdn.ctl.path' version '2.7.18'.
[2017-01-24 15:42:20.492] SequencerThread <DE0004I> Starting bundle 'com.hp.sdn.sdn-ctl-path' version '2.7.18'.
[2017-01-24 15:42:20.492] start-signalling-2 <DE0005I> Started bundle 'com.hp.sdn.sdn-ctl-path' version '2.7.18'.
[2017-01-24 15:42:20.493] start-signalling-2 <DE0005I> Started plan 'com.hp.sdn.ctl.path' version '2.7.18'.



 

Any idea on what I am doing wrong?

 

Thanks,

Enas

HP Aruba 2930F Custom pipeline: OFTableFeaturesFailedErrorMsgVer13(xid=19, code=EPERM

$
0
0

Hi,

I am using a 2930F switch and I am trying to create a custom pipeline (I changed the pipeline mode to custom). I want to create two TCAM tables (Custom TCAM Table1 and Custom TCAM Table2 ). I am getting the following Error:

OF error received: OFTableFeaturesFailedErrorMsgVer13(xid=19, code=EPERM, data=[unparsed: 04 12 04 b0 00 00 00 13 00 0c 00 00 00 00 00 00 02 50 00 00 00 00 00 00 43 75 73 74 6f 6d 20 54 43 41 4d 20 54 61 62 6c 65 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00])

the following are two files: the first one has a string representation of the two tables features printed as a string, and the second is the Wireshark capture:

https://www.dropbox.com/s/oqh42w9v6kuydr5/TwoTCAMTables.txt?dl=0

https://www.dropbox.com/s/qoenxrizaaii6pv/CustomPipeline.pcapng?dl=0

However, if I only create one table the process is successful and the switch pipeline is changed.

Any idea?

Enas

"Resource not found" when adding meter

$
0
0

Hi, I am trying to add a meter to one of our HP 3800 switches but always get a "Resource not found" message as output. I am using VAN 2.7.18 REST API.

Here's the request:

POST /sdn/v2.0/of/datapaths/00:16:10:60:4b:b6:46:80/meters

{
    "meter":
    {
        "id": 1,
        "command": "add",
        "flags": [
            "kbps",
            "stats"
        ],
        "bands": [
            {
                "rate": 2000,
                "mtype": "drop"
            }
        ]

    }
}

The response is: {"message":"Resource not found"}

I can't see what I am missing. Any help would be appreacited :) 

PS. If I try to get meter features it works fine. 

Adding an Experimenter match field

$
0
0

Hi,

I am using an Aruba 2930F switch. I want to add an experimenter match field, and I am trying to follow the example in the guide of TCP sequence number. If I understand correctly the header length would be 112 bits as the following:

0xffff050a00002481000300040004

it made me confused since the Experimenter filed header should be 64 bits according to the OpenFlow documentation!

Is this how the OFPTFPT_MATCH array  in the table features message should look like:

OFTableFeaturePropMatchVer13(oxmIds=[0x80000004, 0x80000706, 0x80000906 .....(any other basic 32bit oxmids),0xffff050a00002481000300040004]) 

Can you please provide me with an example of a correct  OFPTFPT_MATCH array that has an experimenter field in addition to the basic oxm fields, and which controller can be used to achieve this?

 

Thanks,

Enas

Viewing all 611 articles
Browse latest View live


Latest Images