package com.cisco.trex.stateless.model;

import com.google.gson.JsonObject;

public class LayerConfigurationMode {
    JsonObject attrs;

    public LayerConfigurationMode(JsonObject attrs) {
        this.attrs = attrs;
    }
}

@@ -219,10 +219,403 @@
 ;%0A    %7D%0A
+    %0A    public String getEtherAttr(String attrName) %7B%0A        JsonObject ether = attrs.get(%22ether%22).getAsJsonObject();%0A        return ether != null ? ether.get(attrName).getAsString() : null;%0A    %7D%0A    %0A    public String getIpv4Attr(String attrName) %7B%0A        JsonObject ipV4 = attrs.get(%22ipv4%22).getAsJsonObject();%0A        return ipV4 != null ? ipV4.get(attrName).getAsString() : null;%0A    %7D%0A
 %7D%0A

Add getEtherAttrs and getIpv4Attrs