Commit 1775697d authored by Lev Walkin's avatar Lev Walkin

object set

parent 557f27de
...@@ -7,7 +7,7 @@ int123456 INTEGER ::= 123456 ...@@ -7,7 +7,7 @@ int123456 INTEGER ::= 123456
Interval ::= INTEGER (1..123456) Interval ::= INTEGER (1..123456)
SameInterval INTEGER ::= { } SameInterval INTEGER ::= {1 | 2 | 3 | 4 | 5 | 6}
Reason ::= INTEGER { Reason ::= INTEGER {
no-reason(0), no-reason(0),
......
...@@ -18,6 +18,10 @@ BEGIN ...@@ -18,6 +18,10 @@ BEGIN
&Type OPTIONAL &Type OPTIONAL
} WITH SYNTAX { [TYPE &Type] [WITH CODE &code] IDENTIFIED BY &id } } WITH SYNTAX { [TYPE &Type] [WITH CODE &code] IDENTIFIED BY &id }
SampleClassObjectSet SAMPLE-CLASS ::= {
request-Whatever | respond-Stuff | request-Status | request-Salt
}
request-Whatever SAMPLE-CLASS request-Whatever SAMPLE-CLASS
::= { IDENTIFIED BY request-whatever } ::= { IDENTIFIED BY request-whatever }
...@@ -35,7 +39,6 @@ BEGIN ...@@ -35,7 +39,6 @@ BEGIN
request-whatever RELATIVE-OID ::= { 1 1 5 } request-whatever RELATIVE-OID ::= { 1 1 5 }
response-stuff RELATIVE-OID ::= { 2 0 1 } response-stuff RELATIVE-OID ::= { 2 0 1 }
SampleType ::= SEQUENCE { ... } SampleType ::= SEQUENCE { ... }
Salt ::= SET { ... } Salt ::= SET { ... }
......
...@@ -21,6 +21,8 @@ SAMPLE-CLASS ::= CLASS { ...@@ -21,6 +21,8 @@ SAMPLE-CLASS ::= CLASS {
-- [4] request-salt <no entry> Salt -- [4] request-salt <no entry> Salt
SampleClassObjectSet SAMPLE-CLASS ::= {{ IDENTIFIED BY request-whatever } | { WITH CODE 1 IDENTIFIED BY response-stuff } | { TYPE SampleType WITH CODE 2 IDENTIFIED BY request-id } | { TYPE Salt IDENTIFIED BY request-salt }}
request-Whatever SAMPLE-CLASS ::= { IDENTIFIED BY request-whatever } request-Whatever SAMPLE-CLASS ::= { IDENTIFIED BY request-whatever }
respond-Stuff SAMPLE-CLASS ::= { WITH CODE 1 IDENTIFIED BY response-stuff } respond-Stuff SAMPLE-CLASS ::= { WITH CODE 1 IDENTIFIED BY response-stuff }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment