6. Vorgeschlagene Schemata
Ein physisches Netz besteht aus Drähten und Maschinen. Die physische Karte des Netzes zeigt die Zusammenschaltung dieser Knoten durch diese Schaltungen.
Für jedes physische Netzwerkelement kann ein oder können mehrere Abbilder existieren. Ebenso kann ein Abbild mit einem oder mehreren physischen Objekten verknüpft sein. Die Arten der Abbilder können mit den Anforderungen wachsen. Beziehungen zwischen Elementen (physisch oder logisch) werden durch Attribute oder die Position im Verzeichnisbaum ausgedrückt.
Im Schema behandelte Probleme:
- Vermeidung von Datenduplizierung
- Wahrung administrativer Grenzen/Kontrollen
- Einfache Darstellung (minimale Anzahl von Zeigern)
- Sicherheit: Obwohl in dieser Arbeit kein besonderer Schwerpunkt darauf gelegt wurde, glauben wir, dass die X.500-Zugriffskontrollrichtlinien einen angemessen sicheren Rahmen für Sicherheit und Datenschutz bieten.
Nicht behandelte Probleme:
- Caching-Richtlinien usw.: lokal zu entscheiden
6.1. Communication Object-Klassen
Die in Abschnitt 4 eingeführten Objektklassen sind wie folgt definiert:
CommunicationObject OBJECT CLASS
SUBCLASS of top
MAY CONTAIN {
description :: CaseIgnoreStringSyntax,
/* can contain any information about the object,
however, wherever an appropriate attribute
exists, this should be used first to hold
information */
adminContact :: distinguishedNameSyntax,
/* points to the person which is responsible for
the administration of the instance this object
describes;
This refers to the instance only in the context
of the concrete object class */
technContact :: distinguishedNameSyntax,
/* points to the person which is responsible for
the technical maintenance of the instance this
object describes;
This refers to the instance only in the context
of the concrete object class;
Availability (e.g. hours of service) is not
covered by this attribute. */
}
PhysicalCommunicationObject OBJECT CLASS
SUBCLASS of CommunicationObject
MAY CONTAIN{
owner :: distinguishedNameSyntax,
/* refers to organization or person owning the
physical element;
Note that more detailed information (like lease,
rental, etc.) can be covered in a specific image
(ownerImage) of this element */
localityName :: CaseIgnoreStringSyntax
/* where the object is located;
can be used freely to "spot" a network element,
e.g. state/city/street/building/floor/room/
desk/... */
ICO :: distinguishedNameSyntax
/* points to image object the physical object
is related to;
might have several values if physical object is
used for several applications at the same time */
}
ImageCommunicationObject OBJECT CLASS
SUBCLASS of CommunicationObject
MAY CONTAIN{
type :: caseIgnoreStringSyntax,
/* expresses the view this object refers to, e.g.
view of provider/user/IP/OSI/...;
Note that this information can be covered by
the object class in some cases
(e.g. ipNetworkImage gives the IP view) */
imageOf :: distinguishedNameSyntax,
/* points to physical/image object the image
is related to;
might have several values if view applies to
several physical objects at the same time */
}
6.2. Physische Elemente
Die folgenden Objekte beschreiben Netzwerkelemente, ohne etwas über ihre Verwendung auszusagen. Alle Objekte erben Eigenschaften der Klasse PhysicalCommunicationObject.
6.2.1. Network
Das Network-Objekt liefert allgemeine Beschreibungen, die für eine Menge von Knoten und Schaltungen gemeinsam sind, die ein Netz bilden. Dazu gehören Informationen über den Typ der Schaltungen (Medium, Broadcast oder Point-to-Point usw.) und Eigenschaften (Geschwindigkeit usw.).
network OBJECT CLASS SUBCLASS of PhysicalCommunicationObject MUST CONTAIN { networkName :: caseIgnoreStringSyntax }
MAY CONTAIN { externalGateway :: distinguishedNameSyntax,
/* points to one or more nodes that connect
this network to neighbor networks;
whether a node actually is used as gateway
for one or the other protocol, is defined
in a related networkImageObject */
nwType :: caseIgnoreStringSyntax,
/* type of this network;
either "composite" (if consisting of subnetworks)
or type of a line:
bus, ring, star, mesh, point-to-point */
media :: caseIgnoreStringSyntax,
/* if network is not composite,
describes physical media:
copper, fiber optic, etc. */
speed :: numericStringSyntax,
/* nominal bandwidth, e.g. 64 kbps */
traffic :: numericStringSyntax
/* (average) use in percent of nominal bandwidth
[ this needs more specification later ] */
configurationDate :: uTCTimeSyntax,
/* date when network was configured in current
shape */
configurationHistory :: caseIgnoreStringSyntax
/* list of configuration changes, like:
added/removed nodes, lines */
}
6.2.2. Node
Das Node-Objekt beschreibt jede Art von Gerät, das Teil des Netzes ist, etwa einfache Knoten, Drucker oder Bridges.
node OBJECT CLASS SUBCLASS of PhysicalCommunicationObject MUST CONTAIN{ nodeName :: caseIgnoreStringSyntax } MAY CONTAIN { machineType :: caseIgnoreStringSyntax,
/* e.g. main frame, work station, PC, printer;
might include manufacturer */
OS :: caseIgnoreStringSyntax,
/* e.g. VM, UNIX, DOS; might include release */
}
6.2.3. NetworkInterface
Jedes Node-Objekt besitzt ein oder mehrere networkInterface-Objekte als untergeordnete Einträge. NetworkInterface-Objekte liefern Informationen über die Schnittstellen des Knotens und die Konnektivität.
networkInterface OBJECT CLASS SUBCLASS of PhysicalCommunicationObject MUST CONTAIN { networkInterfaceName :: caseIgnoreStringSyntax
/* It is suggested that the networkInterface
name is derived from the name of the logical
device this networkInterface represents for
the operating system, e.g. le0, COM1 */
} MAY CONTAIN { networkInterfaceAddress :: caseIgnoreStringSyntax,
/* this should contain a protocol-independent
interface address, e.g. Ethernet board number */
connectedNetwork :: distinguishedNameSyntax,
/* pointer to object of network which this networkInterface is
connected to */
}
6.3. Logische Elemente
Eine abstrakte Sicht auf ein physisches Element wird in diesem Dokument als Abbild (image) bezeichnet. Das Wort image wird an den Objekttyp angehängt, was zu den neuen Objekten networkImage, nodeImage und networkInterfaceImage führt. Abbilder bilden entweder eigene Verzeichnisbäume oder werden als Teil des physischen Netzbaums gespeichert (siehe Abschnitt 5).
Abbildobjekte erben Eigenschaften der Klasse ImageCommunicationObject.
Jedes Abbildobjekt besitzt spezifische Attribute, die je nach Betrachtungspunkt (IP, OSI, ...) variieren. Außerdem sehen Benutzer und Anbieter eines Abbilds ein Objekt unterschiedlich; darüber hinaus kann ein Benutzer eines Objekts auch die Dienste desselben Objekts für einen anderen Benutzer bereitstellen.
Daher kann im Folgenden keine vollständige und allgemeine Liste von Attributen gegeben werden. Wir empfehlen, für jede logische Sicht Unterklassen der Image-Klassen zu definieren. Diese Unterklassen erben alle mit den untenstehenden Objektklassen definierten Attribute und fügen spezifischere Attribute hinzu. Beispiele für eine IP-Sicht sind in [1] gegeben.
6.3.1. Network
Für ein und dasselbe physische Netz kann es mehrere Netzabbilder geben: eines für jedes Protokoll, jede Anwendung usw.
networkImage OBJECT CLASS SUBCLASS of ImageCommunicationObject MAY CONTAIN { externalGateway :: distinguishedNameSyntax,
/* points to one or more nodes that act
as gateway for the protocol application
this images refers to */
speed :: numericStringSyntax,
/* nominal bandwidth for the channel dedicated
to this protocol or application ,
e.g. 64 kbps */
traffic :: numericStringSyntax,
/* (average) use in percent of nominal bandwidth
[this needs more specification later ] */
charge :: numericStringSyntax
/* amount of money that has to be paid to
service provider for usage;
[it is felt that this needs further definition:
e.g. monetary unit / time unit, monetary unit /
data unit ] */
}
6.3.2. Node
Name und Funktion innerhalb des Netzes können für einen Knoten von Protokoll zu Protokoll variieren. Insbesondere kann ein Knoten für ein Protokoll als Gateway fungieren, für das andere jedoch nicht. Bei Policy-Gateways wird die Routing-Richtlinie gespeichert.
nodeImage OBJECT CLASS SUBCLASS of ImageCommunicationObject /* no attributes common for all nodeImages have been
defined yet */
6.3.3. NetworkInterface
Wie physische Knoten besitzen nodeImages networkInterfaces (networkInterfaceImages), die die Konnektivität zu anderen Netzwerkelementen beschreiben. NetworkInterfaceImages werden nur angegeben, wenn das Protokoll über diese networkInterface Verbindungen herstellt.
networkInterfaceImage OBJECT CLASS SUBCLASS of ImageCommunicationObject
MAY CONTAIN { networkInterfaceAddress :: caseIgnoreStringSyntax,
/* the networkInterface address in the image
context, e.g. IP number, NSAP */
connectedNetwork :: distinguishedNameSyntax
/* pointer to networkImageObject that describes
the network this networkInterface is attached
to in terms of the protocol or application the
image indicates */
}