VOL-4337: Code upgrade for 3/2020 G.988 support and remaining Extended Message Set support
Change-Id: I6c5e1a167216ad9b51e9da89460e9909465ae1bc
diff --git a/generated/circuitpack.go b/generated/circuitpack.go
index e40e29a..0fa6a4e 100644
--- a/generated/circuitpack.go
+++ b/generated/circuitpack.go
@@ -27,11 +27,11 @@
// CircuitPackClassID is the 16-bit ID for the OMCI
// Managed entity Circuit pack
-const CircuitPackClassID ClassID = ClassID(6)
+const CircuitPackClassID = ClassID(6) // 0x0006
var circuitpackBME *ManagedEntityDefinition
-// CircuitPack (class ID #6)
+// CircuitPack (Class ID: #6 / 0x0006)
// This ME models a real or virtual circuit pack that is equipped in a real or virtual ONU slot.
// For ONUs with integrated interfaces, this ME may be used to distinguish available types of
// interfaces (the port-mapping package is another way).
@@ -59,63 +59,76 @@
//
// Attributes
// Managed Entity Id
-// Managed entity ID: This attribute uniquely identifies each instance of this ME. Its value is the
-// same as that of the cardholder ME containing this circuit pack instance. (R, setbycreate if
-// applicable) (mandatory) (2-bytes)
+// This attribute uniquely identifies each instance of this ME. Its value is the same as that of
+// the cardholder ME containing this circuit pack instance. (R, setbycreate if applicable)
+// (mandatory) (2-bytes)
//
// Type
-// Type: This attribute identifies the circuit pack type. This attribute is a code as defined in
-// Table 9.1.5-1. The value 255 means unknown or undefined, i.e., the inserted circuit pack is not
+// This attribute identifies the circuit pack type. This attribute is a code as defined in Table
+// 9.1.5-1. The value 255 means unknown or undefined, i.e., the inserted circuit pack is not
// recognized by the ONU or is not mapped to an entry in Table 9.1.5-1. In the latter case, the
// equipment ID attribute may contain inventory information. Upon autonomous ME instantiation, the
// ONU sets this attribute to 0 or to the type of the circuit pack that is physically present. (R,
// setbycreate if applicable) (mandatory) (1-byte)
//
// Number Of Ports
-// Number of ports: This attribute is the number of access ports on the circuit pack. If the port-
-// mapping package is supported for this circuit pack, this attribute should be set to the total
-// number of ports of all types. (R) (optional) (1-byte)
+// This attribute is the number of access ports on the circuit pack. If the port-mapping package is
+// supported for this circuit pack, this attribute should be set to the total number of ports of
+// all types. (R) (optional) (1-byte)
//
// Serial Number
-// Serial number: The serial number is expected to be unique for each circuit pack, at least within
-// the scope of the given vendor. Note that the serial number may contain the vendor ID or version
-// number. For integrated ONUs, this value is identical to the value of the serial number attribute
-// of the ONU-G ME. Upon creation in the absence of a physical circuit pack, this attribute
-// comprises all spaces. (R) (mandatory) (8-bytes)
+// The serial number is expected to be unique for each circuit pack, at least within the scope of
+// the given vendor. Note that the serial number may contain the vendor ID or version number. For
+// integrated ONUs, this value is identical to the value of the serial number attribute of the
+// ONU-G ME. Upon creation in the absence of a physical circuit pack, this attribute comprises all
+// spaces. (R) (mandatory) (8-bytes)
//
// Version
-// Version: This attribute is a string that identifies the version of the circuit pack as defined
-// by the vendor. The value 0 indicates that version information is not available or applicable.
-// For integrated ONUs, this value is identical to the value of the version attribute of the ONU-G
-// ME. Upon creation in the absence of a physical circuit pack, this attribute comprises all
-// spaces. (R) (mandatory) (14-bytes)
+// This attribute is a string that identifies the version of the circuit pack as defined by the
+// vendor. The value 0 indicates that version information is not available or applicable. For
+// integrated ONUs, this value is identical to the value of the version attribute of the ONU-G ME.
+// Upon creation in the absence of a physical circuit pack, this attribute comprises all spaces.
+// (R) (mandatory) (14-bytes)
//
// Vendor Id
-// Vendor ID: This attribute identifies the vendor of the circuit pack. For ONUs with integrated
-// interfaces, this value is identical to the value of the vendor ID attribute of the ONU-G ME.
-// Upon creation in the absence of a physical circuit pack, this attribute comprises all spaces.
-// (R) (optional) (4-bytes)
+// This attribute identifies the vendor of the circuit pack. For ONUs with integrated interfaces,
+// this value is identical to the value of the vendor ID attribute of the ONU-G ME. Upon creation
+// in the absence of a physical circuit pack, this attribute comprises all spaces. (R) (optional)
+// (4-bytes)
//
// Administrative State
-// Administrative state: This attribute locks (1) and unlocks (0) the functions performed by this
-// ME. Administrative state is further described in clause A.1.6. (R,-W) (mandatory) (1-byte)
+// This attribute locks (1) and unlocks (0) the functions performed by this ME. Administrative
+// state is further described in clause A.1.6. (R,-W) (mandatory) (1-byte)
//
// Operational State
-// Operational state: This attribute indicates whether the circuit pack is capable of performing
-// its function. Valid values are enabled (0), disabled (1) and unknown (2). Pending completion of
-// initialization and self-test on an installed circuit pack, the ONU sets this attribute to 2. (R)
-// (optional) (1-byte)
+// This attribute indicates whether the circuit pack is capable of performing its function. Valid
+// values are enabled (0), disabled (1) and unknown (2). Pending completion of initialization and
+// self-test on an installed circuit pack, the ONU sets this attribute to 2. (R) (optional)
+// (1-byte)
//
// Bridged Or Ip Ind
+// This attribute specifies whether an Ethernet interface is bridged or derived from an IP router
+// function.
+//
+// 0 Bridged
+//
+// 1 IP router
+//
+// 2 Both bridged and IP router functions
+//
// (R,-W) (optional, only applicable for circuit packs with Ethernet interfaces) (1-byte)
//
// Equipment Id
-// Equipment ID: This attribute may be used to identify the vendor's specific type of circuit pack.
-// In some environments, this attribute may include the CLEI code. Upon ME instantiation, the ONU
-// sets this attribute to all spaces or to the equipment ID of the circuit pack that is physically
-// present. (R) (optional) (20-bytes)
+// This attribute may be used to identify the vendor's specific type of circuit pack. In some
+// environments, this attribute may include the CLEI code. Upon ME instantiation, the ONU sets this
+// attribute to all spaces or to the equipment ID of the circuit pack that is physically present.
+// (R) (optional) (20-bytes)
//
// Card Configuration
+// This attribute selects the appropriate configuration of configurable circuit packs. Table
+// 9.1.5-1 specifies two configurable card types: C-DS1/E1 (code 16), and C-DS1/E1/J1 (code 17).
+// Values are indicated below for the allowed card types and configurations.
+//
// Upon autonomous instantiation, this attribute is set to 0. (R,-W, setbycreate if applicable)
// (mandatory for configurable circuit packs) (1-byte)
//
@@ -126,26 +139,24 @@
// scheduler function) (1-byte)
//
// Total Priority Queue Number
-// Total priority queue number: This value reports the total number of priority queues associated
-// with the circuit pack. Upon ME instantiation, the ONU sets the attribute to 0 or to the value
-// supported by the physical circuit pack. (R) (mandatory for circuit packs that provide a traffic
-// scheduler function) (1-byte)
+// This value reports the total number of priority queues associated with the circuit pack. Upon ME
+// instantiation, the ONU sets the attribute to 0 or to the value supported by the physical circuit
+// pack. (R) (mandatory for circuit packs that provide a traffic scheduler function) (1-byte)
//
// Total Traffic Scheduler Number
-// Total traffic scheduler number: This value reports the total number of traffic schedulers
-// associated with the circuit pack. The ONU supports null function, strict priority scheduling and
-// WRR from the priority control, and guarantee of minimum rate control points of view. If the
-// circuit pack has no traffic scheduler, this attribute should be absent or have the value 0. Upon
-// ME instantiation, the ONU sets the attribute to 0 or to the value supported by the physical
-// circuit pack. (R) (mandatory for circuit packs that provide a traffic scheduler function)
-// (1-byte)
+// This value reports the total number of traffic schedulers associated with the circuit pack. The
+// ONU supports null function, strict priority scheduling and WRR from the priority control, and
+// guarantee of minimum rate control points of view. If the circuit pack has no traffic scheduler,
+// this attribute should be absent or have the value 0. Upon ME instantiation, the ONU sets the
+// attribute to 0 or to the value supported by the physical circuit pack. (R) (mandatory for
+// circuit packs that provide a traffic scheduler function) (1-byte)
//
// Power Shed Override
-// Power shed override: This attribute allows ports to be excluded from the power shed control
-// defined in clause 9.1.7. It is a bit mask that takes port 1 as the MSB; a bit value of 1 marks
-// the corresponding port to override the power shed timer. For hardware that cannot shed power per
-// port, this attribute is a slot override rather than a port override, with any non-zero port
-// value causing the entire circuit pack to override power shedding. (R,-W) (optional) (4-bytes)
+// This attribute allows ports to be excluded from the power shed control defined in clause 9.1.7.
+// It is a bit mask that takes port 1 as the MSB; a bit value of 1 marks the corresponding port to
+// override the power shed timer. For hardware that cannot shed power per port, this attribute is a
+// slot override rather than a port override, with any non-zero port value causing the entire
+// circuit pack to override power shedding. (R,-W) (optional) (4-bytes)
//
type CircuitPack struct {
ManagedEntityDefinition
@@ -157,9 +168,10 @@
Name: "CircuitPack",
ClassID: 6,
MessageTypes: mapset.NewSetWith(
- Create,
Get,
Set,
+ Create,
+ Delete,
),
AllowedAttributeMask: 0xfffc,
AttributeDefinitions: AttributeDefinitionMap{
@@ -179,7 +191,7 @@
13: ByteField("TotalTrafficSchedulerNumber", UnsignedIntegerAttributeType, 0x0008, 0, mapset.NewSetWith(Read), false, false, false, 13),
14: Uint32Field("PowerShedOverride", BitFieldAttributeType, 0x0004, 0, mapset.NewSetWith(Read, Write), false, true, false, 14),
},
- Access: CreatedByOlt,
+ Access: CreatedByOnu,
Support: UnknownSupport,
Alarms: AlarmMap{
0: "Equipment alarm",