6. Schemi proposti
Una rete fisica è costituita da cavi e macchine. La mappa fisica della rete mostrerà le interconnessioni di questi nodi tramite tali circuiti.
Per ciascun elemento fisico di rete possono esistere una o più immagini. Analogamente, un'immagine può essere associata a uno o più oggetti fisici. I tipi di immagini possono crescere insieme ai requisiti. Le relazioni tra elementi (fisici o logici) sono espresse da attributi o dalla posizione nell'albero della Directory.
Problemi affrontati nello schema:
- Evitare la duplicazione dei dati.
- Preservare i confini/controlli amministrativi.
- Rappresentazione semplice (numero minimo di puntatori).
- Sicurezza: sebbene in questo lavoro non sia stata posta particolare enfasi su tale aspetto, riteniamo che le politiche di controllo di accesso di X.500 forniranno un quadro ragionevolmente sicuro per la sicurezza e la privacy.
Problemi non affrontati:
- Politiche di caching, ecc.: da decidere a livello locale.
6.1. Classi di oggetti di comunicazione
Le classi di oggetti introdotte nella sezione 4 sono definite come segue:
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. Elementi fisici
I seguenti oggetti descrivono elementi di rete senza dire nulla sul loro uso. Tutti gli oggetti ereditano le proprietà della classe PhysicalCommunicationObject.
6.2.1. Rete
L'oggetto network fornisce descrizioni generali comuni a un insieme di nodi e circuiti che costituiscono una rete. Ciò comprende informazioni sul tipo di circuiti (mezzo, broadcast o point-to-point, ecc.) e sulle proprietà (velocità ecc.).
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. Nodo
L'oggetto node descrive qualsiasi tipo di dispositivo che fa parte della rete, come nodi semplici, stampanti, bridge.
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
Ciascun oggetto nodo avrà uno o più oggetti networkInterface come subordinate. Gli oggetti NetworkInterface forniscono informazioni sulle interfacce del nodo e sulla connettività.
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. Elementi logici
Una vista astratta di un elemento fisico è denominata immagine in questo documento. La parola image viene accodata al tipo di oggetto, dando luogo ai nuovi oggetti networkImage, nodeImage e networkInterfaceImage. Le immagini formeranno alberi della Directory propri oppure saranno memorizzate come parte dell'albero della rete fisica (vedere la sezione 5).
Gli oggetti immagine ereditano le proprietà della classe ImageCommunicationObject.
Ciascun oggetto immagine ha attributi specifici che variano a seconda del punto di vista (IP, OSI, ...). Inoltre, l'utente e il fornitore di un'immagine vedranno un oggetto in modo diverso; un utente di un oggetto, inoltre, può anche fornire i servizi dello stesso oggetto a un altro utente.
Pertanto, nel seguito non è possibile fornire un elenco completo e generale di attributi. Raccomandiamo di definire sottoclassi delle classi Image per ciascuna vista logica. Queste sottoclassi ereditano tutti gli attributi definiti con le classi di oggetti di seguito e ne aggiungono di più specifici. Esempi per una vista IP sono forniti in [1].
6.3.1. Rete
Possono esistere diverse immagini di rete per una stessa rete fisica: una per ciascun protocollo, applicazione, ecc.
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. Nodo
Nome e funzionalità all'interno della rete possono variare per un nodo a seconda del protocollo considerato. In particolare, un nodo può agire come gateway per un protocollo ma non per l'altro. La politica di routing viene memorizzata nel caso di gateway di politica.
nodeImage OBJECT CLASS SUBCLASS of ImageCommunicationObject /* no attributes common for all nodeImages have been
defined yet */
6.3.3. NetworkInterface
Come per i nodi fisici, i nodeImage hanno networkInterface (networkInterfaceImage) che descrivono la connettività ad altri elementi di rete. Le networkInterfaceImage vengono fornite solo se il protocollo stabilisce connessioni tramite questa networkInterface.
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 */
}