You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-7Lines changed: 31 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,15 +24,32 @@ The UUID RFC pre-defines four namespaces:
24
24
25
25
## ISO OID
26
26
27
-
An OID is a globally unique [ISO](http://www.iso.org/iso/en/ISOOnline.frontpage) identifier. There are multiple ways that this identifier may be represented, and Firebird Foundation has chosen to represent OID registered here using a form that consists only of numbers and dots (e.g., "1.3.6.1.4.1.53446.1"). OIDs are paths in a tree structure, with the left-most number representing the root and the right-most number representing a leaf.
28
-
29
-
Each OID is created by a Registration Authority. Each of these authorities may, in turn, delegate assignment of new OIDs under it to other registration authorities that work under its auspices, and so on down the line. Eventually, one of these authorities assigns a unique (to it) number that corresponds to a leaf node on the tree. The leaf may represent a registration authority (in which case the OID identifies the authority), or an instance of an object. A registration authority owns the namespace consisting of its sub-tree.
30
-
31
-
The [Firebird Foundation Incorporated](https://firebirdsql.org/en/firebird-foundation) obtained a [PEN](https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers) (Private Enterprise Number) from [IANA](https://www.iana.org), and thus become a registered owner of OID _1.3.6.1.4.1.53446_ (iso.org.dod.internet.private.enterprise.firebird-foundation-inc). This repository is used to manage sub-tree of OIDs under this namespace, that are used by Firebird Foundation and the [Firebird Project](https://www.firebirdsql.org).
27
+
An OID is a globally unique [ISO](http://www.iso.org/iso/en/ISOOnline.frontpage) identifier.
28
+
There are multiple ways that this identifier may be represented, and Firebird Foundation has
29
+
chosen to represent OID registered here using a form that consists only of numbers and dots
30
+
(e.g., "1.3.6.1.4.1.53446.1"). OIDs are paths in a tree structure, with the left-most number
31
+
representing the root and the right-most number representing a leaf.
32
+
33
+
Each OID is created by a Registration Authority. Each of these authorities may, in turn,
34
+
delegate assignment of new OIDs under it to other registration authorities that work under its
35
+
auspices, and so on down the line. Eventually, one of these authorities assigns a unique (to it)
36
+
number that corresponds to a leaf node on the tree. The leaf may represent a registration authority
37
+
(in which case the OID identifies the authority), or an instance of an object. A registration
38
+
authority owns the namespace consisting of its sub-tree.
39
+
40
+
The [Firebird Foundation Incorporated](https://firebirdsql.org/en/firebird-foundation) obtained
41
+
a [PEN](https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers) (Private Enterprise
42
+
Number) from [IANA](https://www.iana.org), and thus become a registered owner of OID _1.3.6.1.4.1.53446_
43
+
(iso.org.dod.internet.private.enterprise.firebird-foundation-inc). This repository is used to manage
44
+
sub-tree of OIDs under this namespace, that are used by Firebird Foundation and
45
+
the [Firebird Project](https://www.firebirdsql.org).
32
46
33
47
# How it works
34
48
35
-
The OID hierarchy is controlled by a set of YAML files, each file describing one level in the tree hierarchy (that is, the root node of the child tree and all assigned nodes for children). The `root.oid` file describes the OID of highest level (assigned by IANA).
49
+
The OID hierarchy is controlled by a set of YAML files, each file describing one level
50
+
in the tree hierarchy (that is, the root node of the child tree and all assigned nodes
51
+
for children). The [root.oid](https://github.com/FirebirdSQL/firebird-uuid/blob/master/root.oid) file
52
+
in this repository describes the OID of highest level (assigned by IANA).
36
53
37
54
Each file has the following format:
38
55
@@ -62,7 +79,10 @@ children:
62
79
63
80
**All fields must be present, and if not specified otherwise, they must have a value.**
64
81
65
-
Fields `name`,`description`,`contact`,`email` and `site` in `children` record SHOULD have the same values like fields of the same name in `node` record of the YAML file describing the child node. If they differ in content, the values present in `node` record take precedence over values present in `children` record.
82
+
Fields `name`,`description`,`contact`,`email` and `site` in `children` record SHOULD have
83
+
the same values like fields of the same name in `node` record of the YAML file describing
84
+
the child node. If they differ in content, the values present in `node` record take precedence
85
+
over values present in `children` record.
66
86
67
87
# Using OIDs to generate UUIDs
68
88
@@ -82,3 +102,7 @@ python:
82
102
UUID('6f8c9fea-acfa-5b49-af8a-11aca8d0c4a0')
83
103
```
84
104
105
+
# Python package for work with Firebird OID namespace
106
+
107
+
The Firebird Project provides [firebird-uuid](https://pypi.org/project/firebird-uuid/) Python package
108
+
for work with OID hierarchy definitions in format defined above.
0 commit comments