[VOL-2252] Using omci-sim v0.0.1
 Adding Makefile support to load a development version of the omci-sim library

Change-Id: I341f626adaec35e697eb24470594942463d8f9a8
diff --git a/vendor/github.com/opencord/omci-sim/CODE_OF_CONDUCT.md b/vendor/github.com/opencord/omci-sim/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000..626cd61
--- /dev/null
+++ b/vendor/github.com/opencord/omci-sim/CODE_OF_CONDUCT.md
@@ -0,0 +1,3 @@
+We expect all ONF employees, member companies, and participants to abide by our [Code of Conduct](https://www.opennetworking.org/wp-content/themes/onf/img/onf-code-of-conduct.pdf).
+
+If you are being harassed, notice that someone else is being harassed, or have any other concerns involving someone’s welfare, please notify a member of the ONF team or email [conduct@opennetworking.org](conduct@opennetworking.org). 
diff --git a/vendor/github.com/opencord/omci-sim/README.md b/vendor/github.com/opencord/omci-sim/README.md
index 7183f6e..c3930c5 100644
--- a/vendor/github.com/opencord/omci-sim/README.md
+++ b/vendor/github.com/opencord/omci-sim/README.md
@@ -1,3 +1,5 @@
-# omci-sim
+# Omci-sim
 
-Test
+This library is a dump of the OMCI messages reported by an ALPHA device
+and it is currently used by [BBSim](github.com/opencord/bbsim) to 
+emulate OMCI responses during [VOLTHA](docs.voltha.org) scale tests.
diff --git a/vendor/github.com/opencord/omci-sim/VERSION b/vendor/github.com/opencord/omci-sim/VERSION
index c0ab82c..8acdd82 100644
--- a/vendor/github.com/opencord/omci-sim/VERSION
+++ b/vendor/github.com/opencord/omci-sim/VERSION
@@ -1 +1 @@
-0.0.1-dev
+0.0.1
diff --git a/vendor/github.com/opencord/omci-sim/omci_handlers.go b/vendor/github.com/opencord/omci-sim/omci_handlers.go
index 67a57e7..de62498 100644
--- a/vendor/github.com/opencord/omci-sim/omci_handlers.go
+++ b/vendor/github.com/opencord/omci-sim/omci_handlers.go
@@ -37,6 +37,7 @@
 	SynchronizeTime:  syncTime,
 	Delete:           delete,
 	Reboot:           reboot,
+	Test: testHandler,
 }
 
 func mibReset(class OmciClass, content OmciContent, key OnuKey) ([]byte, error) {
@@ -564,3 +565,22 @@
 	return pkt, nil
 }
 
+func testHandler(class OmciClass, content OmciContent, key OnuKey) ([]byte, error) {
+	var pkt []byte
+	pkt = []byte{
+		0x20, 0x52, 0x45, 0x43, 0x56, 0x00, 0x20, 0x53,
+		0x45, 0x4e, 0x44, 0x00, 0x88, 0xb5, 0x02, 0x3f,
+		0x1b, 0x0a, 0x01, 0x07, 0x80, 0x01, 0x01, 0x00,
+		0xa5, 0x03, 0xe0, 0x0b, 0x05, 0x0b, 0x2b, 0x09,
+		0x1c, 0xd0, 0x0c, 0x32, 0x80, 0x00, 0x00, 0x00,
+		0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+		0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+		0x00, 0x28, 0xf8, 0x13, 0x1b, 0x36,}
+
+	log.WithFields(log.Fields{
+		"IntfId": key.IntfId,
+		"OnuId": key.OnuId,
+	}).Trace("Omci Test")
+	return pkt, nil
+}
+