Umesh Krishnaswamy | 345ee99 | 2012-12-13 20:29:48 -0800 | [diff] [blame] | 1 | package net.floodlightcontroller.core.internal; |
| 2 | |
| 3 | import org.kohsuke.args4j.Option; |
| 4 | |
| 5 | /** |
| 6 | * Expresses the port settings of OpenFlow controller. |
| 7 | */ |
| 8 | public class CmdLineSettings { |
| 9 | public static final String DEFAULT_CONFIG_FILE = "config/floodlight.properties"; |
| 10 | |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 11 | @Option(name = "-cf", aliases = "--configFile", metaVar = "FILE", usage = "Floodlight configuration file") |
Umesh Krishnaswamy | 345ee99 | 2012-12-13 20:29:48 -0800 | [diff] [blame] | 12 | private String configFile = DEFAULT_CONFIG_FILE; |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 13 | |
Umesh Krishnaswamy | 345ee99 | 2012-12-13 20:29:48 -0800 | [diff] [blame] | 14 | public String getModuleFile() { |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 15 | return configFile; |
Umesh Krishnaswamy | 345ee99 | 2012-12-13 20:29:48 -0800 | [diff] [blame] | 16 | } |
| 17 | } |