Additions to the L2 monitoring for CFM and SOAM
Change-Id: I2d39dd9e1c4841c87cb0a27d82bb303ffd9c08fc
diff --git a/apps/cfm/src/main/resources/definitions/MepLbTransmit.json b/apps/cfm/src/main/resources/definitions/MepLbTransmit.json
new file mode 100644
index 0000000..c9a5a2d
--- /dev/null
+++ b/apps/cfm/src/main/resources/definitions/MepLbTransmit.json
@@ -0,0 +1,58 @@
+{
+ "type": "object",
+ "title": "loopback",
+ "required": [
+ "loopback"
+ ],
+ "properties": {
+ "loopback": {
+ "type": "object",
+ "title": "lbprops",
+ "required": [
+ "remoteMepId"
+ ],
+ "properties": {
+ "numberMessages": {
+ "type": "uint16",
+ "minimum": 0,
+ "maximum": 32767,
+ "description": "The number of LBM transmissions in a session",
+ "example": 1
+ },
+ "remoteMepId": {
+ "type": "uint16",
+ "minimum": 1,
+ "maximum": 8191,
+ "description": "remote Mep will be identified by either a MacAddress or a MEPId. This is for Mep Id",
+ "example": 20
+ },
+ "dataTlvHex": {
+ "type": "string",
+ "maxLength": 64,
+ "description": "TLV data that will be sent encoded as hexadecimal (lower case, colon separated bytes)",
+ "example": "61:62:63:64:63:62:61"
+ },
+ "priority": {
+ "type": "string",
+ "enum": [
+ "PRIO0",
+ "PRIO1",
+ "PRIO2",
+ "PRIO3",
+ "PRIO4",
+ "PRIO5",
+ "PRIO6",
+ "PRIO7"
+ ],
+ "description": "The priority parameter to be used in the transmitted LBMs",
+ "example": "PRIO0"
+ },
+ "vlanDropEligible": {
+ "type": "boolean",
+ "description": "Whether the drop eligible parameter to be used in the transmitted LBMs",
+ "example": true
+ }
+ }
+ }
+ }
+}
\ No newline at end of file