+ String outVlanId = String.valueOf(av.getVlanId());
+ actions.append(action.getType().toString() + " = " + outVlanId
+ + "<br>");
+ } else if (action instanceof SetDlSrc) {
+ SetDlSrc ads = (SetDlSrc) action;
+ actions.append(action.getType().toString() + " = "
+ + HexEncode.bytesToHexStringFormat(ads.getDlAddress()) + "<br>");
+ } else if (action instanceof SetDlDst) {
+ SetDlDst add = (SetDlDst) action;
+ actions.append(action.getType().toString() + " = "
+ + HexEncode.bytesToHexStringFormat(add.getDlAddress())
+ + "<br>");
+ } else if (action instanceof SetNwSrc) {
+ SetNwSrc ans = (SetNwSrc) action;
+ actions.append(action.getType().toString() + " = "
+ + ans.getAddressAsString() + "<br>");
+ } else if (action instanceof SetNwDst) {
+ SetNwDst and = (SetNwDst) action;
+ actions.append(action.getType().toString() + " = "
+ + and.getAddressAsString() + "<br>");
+ } else if (action instanceof SetNwTos) {
+ SetNwTos ant = (SetNwTos) action;
+ actions.append(action.getType().toString() + " = "
+ + ant.getNwTos() + "<br>");
+ } else if (action instanceof SetTpSrc) {
+ SetTpSrc ads = (SetTpSrc) action;
+ actions.append(action.getType().toString() + " = "
+ + ads.getPort() + "<br>");
+ } else if (action instanceof SetTpDst) {
+ SetTpDst atd = (SetTpDst) action;
+ actions.append(action.getType().toString() + " = "
+ + atd.getPort() + "<br>");
+ } else if (action instanceof SetVlanPcp) {
+ SetVlanPcp avp = (SetVlanPcp) action;
+ actions.append(action.getType().toString() + " = "
+ + avp.getPcp() + "<br>");
+ // } else if (action instanceof SetDlSrc) {
+ // SetDlSrc ads = (SetDlSrc) action;
+ } else {
+ actions.append(action.getType().toString() + "<br>");