跳到主要内容

6. 提议的方案

一个物理网络由线路和机器组成. 网络的物理图将展示这些节点通过这些电路的互连.

对于每个物理网络元素, 可能存在一个或多个映像. 类似地, 一个映像可以附加到一个或多个物理对象. 映像的类型可以随着需求而增长. 元素 (物理的或逻辑的) 之间的关系通过属性或目录树中的位置来表达.

模式中处理的问题:

  1. 避免数据重复
  2. 保留行政边界/控制.
  3. 简单表示 (最少数量的指针)
  4. 安全性: 尽管本工作没有特别强调这一点, 我们相信 X.500 访问控制策略将提供一个合理安全的框架, 用于保障安全和隐私.

未处理的问题:

  1. 缓存策略等: 由本地决定

6.1. 通信对象类​

第 4 节中引入的对象类定义如下:

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. 物理元素​

以下对象描述网络元素, 但不涉及其用途. 所有对象都继承 PhysicalCommunicationObject 类的属性.

6.2.1. 网络​

网络对象提供对构成一个网络的一组节点和电路通用的描述. 这包括有关电路类型 (介质, 广播或点到点等) 和属性 (速度等) 的信息.

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 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​

每个节点对象将具有一个或多个 networkInterface 对象作为下级. NetworkInterface 对象提供有关节点接口和连接性的信息.

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. 逻辑元素​

本文档中物理元素的抽象视图称为映像. 映像一词附加在对象类型之后, 产生新的对象 networkImage, nodeImage 和 networkInterfaceImage. 映像要么自身构建目录树, 要么作为物理网络树的一部分存储 (见第 5 节).

映像对象继承 ImageCommunicationObject 类的属性.

每个映像对象都有特定的属性, 这些属性因视点 (IP, OSI, ...) 而异. 此外, 映像的用户和提供者将以不同方式看待一个对象; 再者, 一个对象的用户也可能正在向另一用户提供该同一对象的服务.

因此, 下文无法给出一份完整而通用的属性列表. 我们建议为每个逻辑视图定义 Image 类的子类. 这些子类继承下面用对象类定义的所有属性并添加更具体的属性. IP 视图的示例见 [1].

6.3.1. 网络​

对于同一个物理网络, 可能存在多个网络映像: 每个协议, 应用等各一个.

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. 节点​

对于一个节点, 名称和功能可能因所考虑的协议而异. 特别是, 一个节点可能充当某一协议的网关, 但不充当另一协议的网关. 在策略网关的情况下存储路由策略.

nodeImage OBJECT CLASS SUBCLASS of ImageCommunicationObject /* no attributes common for all nodeImages have been

defined yet */

6.3.3. NetworkInterface​

与物理节点一样, nodeImages 具有 networkInterfaces (networkInterfaceImages), 用于描述与其他网络元素的连接性. 仅当协议通过该 networkInterface 建立连接时才给出 NetworkInterfaceImages.

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 */

}