VOL-4337: Code upgrade for 3/2020 G.988 support and remaining Extended Message Set support
Change-Id: I6c5e1a167216ad9b51e9da89460e9909465ae1bc
diff --git a/generated/softwareimage.go b/generated/softwareimage.go
index 27efb8f..b900d0b 100644
--- a/generated/softwareimage.go
+++ b/generated/softwareimage.go
@@ -14,6 +14,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+/*
+ * NOTE: This file was generated, manual edits will be overwritten!
+ *
+ * Generated by 'goCodeGenerator.py':
+ * https://github.com/cboling/OMCI-parser/README.md
+ */
package generated
@@ -21,11 +27,11 @@
// SoftwareImageClassID is the 16-bit ID for the OMCI
// Managed entity Software image
-const SoftwareImageClassID ClassID = ClassID(7)
+const SoftwareImageClassID = ClassID(7) // 0x0007
var softwareimageBME *ManagedEntityDefinition
-// SoftwareImage (class ID #7)
+// SoftwareImage (Class ID: #7 / 0x0007)
// This ME models an executable software image stored in the ONU (documented here as its
// fundamental usage). It may also be used to represent an opaque vendor-specific file
// (vendorspecific usage).
@@ -56,49 +62,48 @@
//
// Attributes
// Managed Entity Id
-// Managed entity ID: This attribute uniquely identifies each instance of this ME. The first byte
-// indicates the physical location of the equipment hosting the software image, either the ONU (0)
-// or a cardholder (1..254). The second byte distinguishes between the two software image ME
-// instances (0..1). (R) (mandatory) (2-bytes)
+// This attribute uniquely identifies each instance of this ME. The first byte indicates the
+// physical location of the equipment hosting the software image, either the ONU (0) or a
+// cardholder (1..254). The second byte distinguishes between the two software image ME instances
+// (0..1). (R) (mandatory) (2-bytes)
//
// Version
-// Version: This string attribute identifies the version of the software. (R) (mandatory)
-// (14-bytes)
+// This string attribute identifies the version of the software. (R) (mandatory) (14-bytes)
//
// Is Committed
-// Is committed: This attribute indicates whether the associated software image is committed (1) or
-// uncommitted (0). By definition, the committed software image is loaded and executed upon reboot
-// of the ONU or circuit pack. During normal operation, one software image is always committed,
-// while the other is uncommitted. Under no circumstances are both software images allowed to be
-// committed at the same time. On the other hand, both software images could be uncommitted at the
-// same time if both were invalid. Upon ME instantiation, instance 0 is initialized to committed,
-// while instance 1 is initialized to uncommitted (i.e., the ONU ships from the factory with image
-// 0 committed). (R) (mandatory) (1-byte)
+// This attribute indicates whether the associated software image is committed (1) or uncommitted
+// (0). By definition, the committed software image is loaded and executed upon reboot of the ONU
+// or circuit pack. During normal operation, one software image is always committed, while the
+// other is uncommitted. Under no circumstances are both software images allowed to be committed at
+// the same time. On the other hand, both software images could be uncommitted at the same time if
+// both were invalid. Upon ME instantiation, instance 0 is initialized to committed, while instance
+// 1 is initialized to uncommitted (i.e., the ONU ships from the factory with image 0 committed).
+// (R) (mandatory) (1-byte)
//
// Is Active
-// Is active: This attribute indicates whether the associated software image is active (1) or
-// inactive (0). By definition, the active software image is one that is currently loaded and
-// executing in the ONU or circuit pack. Under normal operation, one software image is always
-// active while the other is inactive. Under no circumstances are both software images allowed to
-// be active at the same time. On the other hand, both software images could be inactive at the
-// same time if both were invalid. (R) (mandatory) (1-byte)
+// This attribute indicates whether the associated software image is active (1) or inactive (0). By
+// definition, the active software image is one that is currently loaded and executing in the ONU
+// or circuit pack. Under normal operation, one software image is always active while the other is
+// inactive. Under no circumstances are both software images allowed to be active at the same time.
+// On the other hand, both software images could be inactive at the same time if both were invalid.
+// (R) (mandatory) (1-byte)
//
// Is Valid
-// Is valid: This attribute indicates whether the associated software image is valid (1) or invalid
-// (0). By definition, a software image is valid if it has been verified to be an executable code
-// image. The verification mechanism is not subject to standardization; however, it should include
-// at least a data integrity check [e.g., a cyclic redundancy check (CRC)] of the entire code
-// image. Upon ME instantiation or software download completion, the ONU validates the associated
-// code image and sets this attribute according to the result. (R) (mandatory) (1-byte)
+// This attribute indicates whether the associated software image is valid (1) or invalid (0). By
+// definition, a software image is valid if it has been verified to be an executable code image.
+// The verification mechanism is not subject to standardization; however, it should include at
+// least a data integrity check [e.g., a cyclic redundancy check (CRC)] of the entire code image.
+// Upon ME instantiation or software download completion, the ONU validates the associated code
+// image and sets this attribute according to the result. (R) (mandatory) (1-byte)
//
// Product Code
-// Product code: This attribute provides a way for a vendor to indicate product code information on
-// a file. It is a character string, padded with trailing nulls if it is shorter than 25 bytes. (R)
-// (optional) (25 bytes)
+// This attribute provides a way for a vendor to indicate product code information on a file. It is
+// a character string, padded with trailing nulls if it is shorter than 25 bytes. (R) (optional)
+// (25 bytes)
//
// Image Hash
-// Image hash: This attribute is an MD5 hash of the software image. It is computed at completion of
-// the end download action. (R) (optional) (16-bytes)
+// This attribute is an MD5 hash of the software image. It is computed at completion of the end
+// download action. (R) (optional) (16-bytes)
//
type SoftwareImage struct {
ManagedEntityDefinition