Sangho Shin | 8a75974 | 2014-09-25 14:31:18 -0700 | [diff] [blame] | 1 | package net.onrc.onos.core.matchaction.action; |
2 | |||||
Saurav Das | bc594a4 | 2014-09-25 20:13:50 -0700 | [diff] [blame] | 3 | import org.projectfloodlight.openflow.types.EthType; |
4 | |||||
Sangho Shin | 8a75974 | 2014-09-25 14:31:18 -0700 | [diff] [blame] | 5 | public class PopMplsAction implements Action { |
Saurav Das | bc594a4 | 2014-09-25 20:13:50 -0700 | [diff] [blame] | 6 | private final EthType ethtype; |
Sangho Shin | 8a75974 | 2014-09-25 14:31:18 -0700 | [diff] [blame] | 7 | |
Saurav Das | bc594a4 | 2014-09-25 20:13:50 -0700 | [diff] [blame] | 8 | public PopMplsAction(EthType ethtype) { |
9 | this.ethtype = ethtype; | ||||
10 | } | ||||
Sangho Shin | 8a75974 | 2014-09-25 14:31:18 -0700 | [diff] [blame] | 11 | |
Saurav Das | bc594a4 | 2014-09-25 20:13:50 -0700 | [diff] [blame] | 12 | public EthType getEthType() { |
13 | return ethtype; | ||||
Sangho Shin | 8a75974 | 2014-09-25 14:31:18 -0700 | [diff] [blame] | 14 | } |
15 | } |