Pankaj Berde | e73452c | 2013-01-03 14:57:07 -0800 | [diff] [blame] | 1 | /** |
| 2 | * |
| 3 | */ |
| 4 | package net.floodlightcontroller.core.internal; |
| 5 | |
| 6 | import java.util.Collection; |
Pankaj Berde | 8557a46 | 2013-01-07 08:59:31 -0800 | [diff] [blame] | 7 | import java.util.List; |
Pankaj Berde | e73452c | 2013-01-03 14:57:07 -0800 | [diff] [blame] | 8 | |
| 9 | import org.openflow.protocol.OFPhysicalPort; |
| 10 | |
| 11 | import net.floodlightcontroller.core.ISwitchStorage; |
| 12 | |
| 13 | /** |
| 14 | * @author pankaj |
| 15 | * |
| 16 | */ |
| 17 | public class SwitchStorageImplStubs implements ISwitchStorage { |
| 18 | |
Pankaj Berde | e73452c | 2013-01-03 14:57:07 -0800 | [diff] [blame] | 19 | |
| 20 | /* (non-Javadoc) |
| 21 | * @see net.floodlightcontroller.core.ISwitchStorage#addPort(long, org.openflow.protocol.OFPhysicalPort) |
| 22 | */ |
| 23 | @Override |
Pankaj Berde | 4dea346 | 2013-01-03 18:02:38 -0800 | [diff] [blame] | 24 | public void addPort(String dpid, OFPhysicalPort port) { |
Pankaj Berde | e73452c | 2013-01-03 14:57:07 -0800 | [diff] [blame] | 25 | // TODO Auto-generated method stub |
| 26 | |
| 27 | } |
| 28 | |
| 29 | /* (non-Javadoc) |
| 30 | * @see net.floodlightcontroller.core.ISwitchStorage#getPorts(long) |
| 31 | */ |
| 32 | @Override |
| 33 | public Collection<OFPhysicalPort> getPorts(long dpid) { |
| 34 | // TODO Auto-generated method stub |
| 35 | return null; |
| 36 | } |
| 37 | |
| 38 | /* (non-Javadoc) |
| 39 | * @see net.floodlightcontroller.core.ISwitchStorage#getPort(long, short) |
| 40 | */ |
| 41 | @Override |
Pankaj Berde | 4dea346 | 2013-01-03 18:02:38 -0800 | [diff] [blame] | 42 | public OFPhysicalPort getPort(String dpid, short portnum) { |
Pankaj Berde | e73452c | 2013-01-03 14:57:07 -0800 | [diff] [blame] | 43 | // TODO Auto-generated method stub |
| 44 | return null; |
| 45 | } |
| 46 | |
| 47 | /* (non-Javadoc) |
| 48 | * @see net.floodlightcontroller.core.ISwitchStorage#getPort(long, java.lang.String) |
| 49 | */ |
| 50 | @Override |
Pankaj Berde | 4dea346 | 2013-01-03 18:02:38 -0800 | [diff] [blame] | 51 | public OFPhysicalPort getPort(String dpid, String portName) { |
Pankaj Berde | e73452c | 2013-01-03 14:57:07 -0800 | [diff] [blame] | 52 | // TODO Auto-generated method stub |
| 53 | return null; |
| 54 | } |
| 55 | |
| 56 | /* (non-Javadoc) |
| 57 | * @see net.floodlightcontroller.core.ISwitchStorage#addSwitch(long) |
| 58 | */ |
| 59 | @Override |
Pankaj Berde | 4dea346 | 2013-01-03 18:02:38 -0800 | [diff] [blame] | 60 | public void addSwitch(String dpid) { |
Pankaj Berde | e73452c | 2013-01-03 14:57:07 -0800 | [diff] [blame] | 61 | // TODO Auto-generated method stub |
| 62 | |
| 63 | } |
| 64 | |
| 65 | /* (non-Javadoc) |
| 66 | * @see net.floodlightcontroller.core.ISwitchStorage#deleteSwitch(long) |
| 67 | */ |
| 68 | @Override |
Pankaj Berde | 4dea346 | 2013-01-03 18:02:38 -0800 | [diff] [blame] | 69 | public void deleteSwitch(String dpid) { |
Pankaj Berde | e73452c | 2013-01-03 14:57:07 -0800 | [diff] [blame] | 70 | // TODO Auto-generated method stub |
| 71 | |
| 72 | } |
| 73 | |
| 74 | /* (non-Javadoc) |
| 75 | * @see net.floodlightcontroller.core.ISwitchStorage#deletePort(long, short) |
| 76 | */ |
| 77 | @Override |
Pankaj Berde | 4dea346 | 2013-01-03 18:02:38 -0800 | [diff] [blame] | 78 | public void deletePort(String dpid, short port) { |
Pankaj Berde | e73452c | 2013-01-03 14:57:07 -0800 | [diff] [blame] | 79 | // TODO Auto-generated method stub |
| 80 | |
| 81 | } |
| 82 | |
| 83 | /* (non-Javadoc) |
| 84 | * @see net.floodlightcontroller.core.ISwitchStorage#deletePort(long, java.lang.String) |
| 85 | */ |
| 86 | @Override |
Pankaj Berde | 4dea346 | 2013-01-03 18:02:38 -0800 | [diff] [blame] | 87 | public void deletePort(String dpid, String portName) { |
Pankaj Berde | e73452c | 2013-01-03 14:57:07 -0800 | [diff] [blame] | 88 | // TODO Auto-generated method stub |
| 89 | |
| 90 | } |
| 91 | |
| 92 | /* (non-Javadoc) |
| 93 | * @see net.floodlightcontroller.core.ISwitchStorage#init(java.lang.String) |
| 94 | */ |
| 95 | @Override |
| 96 | public void init(String conf) { |
| 97 | // TODO Auto-generated method stub |
| 98 | |
| 99 | } |
| 100 | |
Pankaj Berde | 8557a46 | 2013-01-07 08:59:31 -0800 | [diff] [blame] | 101 | @Override |
| 102 | public void update(String dpid, SwitchState state, DM_OPERATION op) { |
| 103 | // TODO Auto-generated method stub |
| 104 | |
| 105 | } |
| 106 | |
| 107 | @Override |
| 108 | public List<String> getActiveSwitches() { |
| 109 | return null; |
| 110 | // TODO Auto-generated method stub |
| 111 | |
| 112 | } |
| 113 | |
Pankaj Berde | e73452c | 2013-01-03 14:57:07 -0800 | [diff] [blame] | 114 | } |