ITEM: AU0586
NetView -Cutting and Pasting
Question:
Cutting, Pasting, Adding, and Copying Symbols
The following is taken from the README file for the U428927 NV/6000
PTF. It gives detailed rules for moving, adding, and copying
IP topology symbols and objects.
Before we start, one thing should be clarified. The End-User-Interface,
or EUI, is the part of NetView/6000 that displays the submaps, symbols,
and menus on the screen. There are many diffent applications that can
use the EUI to draw symbols and submaps, and each of these different
applications may display their symbols in different ways, and each
of these applications can use the EUI's menu functions in different
ways.
The result of this is that different applications can have different
rules for cutting and pasting. In fact, applications could be written
that do not support cutting and pasting at all!
The instructions written below relate to a very important application
called ipmap. The ipmap application is the application that uses
the EUI to control and display the IP entities in your network. The
instructions below only apply to the manipulation of IP entities.
**************************************************************************
4. Cutting, Pasting, Adding, and Copying Symbols (PTF U426327)
4a. CUT and PASTE Rules.
The CUT/PASTE operation allows you to MOVE symbols from one submap
to another. The CUT/PASTE functionality should not be used to
COPY symbols. See section 4c for rules about copying symbols.
There are only certain cutting and pasting applications that
are understood by the ipmap application. The following section
tells you which symbols can be moved (cut and paste) and where
they can be moved to.
It would be impossible to list all possible cut and paste
scenarios and whether or not they are supported, but it is possible
to list all cut/paste restrictions (actions not supported by ipmap).
If a cut and paste action does not match any of the restrictions
listed below, then the action will be supported by ipmap.
The most important restriction is that SYMBOLS CAN'T BE MOVED FROM
ONE SUBMAP TO A SUBMAP OF A DIFFERNT TYPE. Here are two examples:
- a bridge symbol on a network level submap can't be moved
to a segment submap
- an interface card symbol on a node (computer) level submap
can't be moved to an Internet level submap
This is the main restriction, but there are others that are important.
Since moves can only be made across submaps of the same type, the
remaining restrictions are listed by submap type.
a. Root Submap Restrictions:
NO SYMBOLS CAN BE MOVED TO OR FROM THIS SUBMAP. The ipmap
application only has access to symbols on or below the submap
accessible from the IP Internet symbol on the root submap.
b. Internet/Location Submaps Restrictions:
1. Connection symbols cannot be moved. Connection symbols are
the lines that connect two symbols. Connection symbols should
not be confused with connector symbols, which represent entities
like gateways, bridges, and repeaters.
2. As might be expected, an internet/location symbol cannot be
moved into its own child submap, because this would create an
infinite loop.
3. Internet/location symbols cannot be moved if the submaps they
represent have symbols in them. In other words,
Internet/Location symbols must have empty child submaps in
order to be moved.
c. Network Submap Restrictions:
NO SYMBOLS CAN BE MOVED FROM A NETWORK SUBMAP TO ANOTHER NETWORK
SUBMAP. This is because all symbols on a network submap
(gateways, nodes, segments, and connections) all have
interfaces that correspond to a unique network. Moving a
symbol from one network submap to another means that an
object is being moved into a different network. The network
address in the interface's IP address would conflict with the
network address of the destination network submap.
d. Segment Submap Restrictions:
Nodes symbols cannot be moved from a segment in one network to a
segment in another network. A node can be moved from one segment
to another only if the segments are IN THE SAME NETWORK.
e. Node Submap Restrictions:
NO SYMBOLS CAN BE MOVED FROM A NODE SUBMAP TO ANOTHER NODE
SUBMAP. Only interface card symbols can appear on the node
level submap, and it usually isn't necessary to move interface
cards from node to node. In the event that an interface card
has been moved from one node to another, instead of trying to
manually cut and paste the card symbol, simply do a demand poll
on the two nodes in question, and the map will be updated
automatically.
Basically, the Internet/Location and Segment submaps are the only
places where you can cut and paste. If you're on the root, network,
or node level submaps, you can't cut and paste (move) symbols. You
can ADD objects on these maps, however. The rules for adding objects
are listed below.
4b. Add Object Rules
The way ipmap behaves when an object is added depends upon the type
of object being added and the destination submap of the object's
symbol. As with cutting and pasting symbols, ipmap will "support"
some object additions, and in other cases, ipmap will not support
the creation of an object.
If ipmap supports an object addition, then the object's symbol icon
will be placed in the application plane of the destination submap.
This means that ipmap will continue to manage the object represented
by the symbol, and the symbol will accurately reflect the status
of the object. If ipmap does not support an object addition, then
the object's symbol icon will be placed in the user plane of the
destination submap and ipmap will not manage the object.
This means that the symbol will not accurately reflect the
status of the object. To maintain the accuracy of all maps, users
should try to add objects in a manner that allows ipmap to manage
the objects.
One thing that makes adding objects different from moving symbols
is that, in most cases, you must provide correct information (like
IP addresses, subnet masks, etc.) when you add an object. If the
information provided is not consistent with a real life object
in your network, then ipmap will not manage the object. This
information is entered by pressing the "IP Map - Set Object
Attributes" push button on the "Add Object" dialog box.
a. Root Submap
NO OBJECTS CAN BE ADDED TO THIS SUBMAP. As with cutting and
pasting, ipmap only has access to symbols on or below the
submap accessible from the IP internet symbol on the root submap.
b. Internet/Location Submap
The following objects can be added:
1. Internets/Locations
- User must provide unique name
2. Connectors (Gateways)
- User must provide correct hostname, IP address, and
subnet mask
3. IP Networks
- Must use IP Network icon! If "generic" or "regular"
network icon is chosen, ipmap will not manage the network.
- User must provide unique network name, IP address, and
subnet mask
4. Connections
- Only certain objects can be connected. For instance, you
can't connect two networks directly with a connection
symbol. Instead, you must connect a network with a
gateway, which is then connected to another network.
- When adding a connection between two symbols, you are
really adding an interface object. After drawing the
connection between the two symbols, if the "Add Object"
dialog box does not appear, then you have tried to connect
two symbols that cannot be connected.
- When the "Add Object" dialog comes up, you must specify
information about the interface that you are adding.
You must provide the IP address and subnet mask of the
interface.
- Be careful when adding connections, because connection
symbols have no "user plane" like other object symbols,
so it impossible to tell just by looking at the connection
symbol whether or not ipmap supports the connection.
c. Network Submap
The following symbols can be added:
1. Segments
- User must provide unique name for segment
2. Connectors (Bridges)
- User must provide correct hostname, IP address, and
subnet mask
3. Connections
- see notes for connections above
d. Segment Submap
The following symbols can be added:
1. Nodes (Computer, etc.)
- User must provide unique hostname and IP address
2. Connections
- see notes for connections above
e. Node Submap
Only interfaces can be added to the Node Submap. The user
must provide the IP address and the subnet mask for the interface
being added.
4c. COPY and PASTE Rules
Symbols COPIED from one submap into another will not be managed
by the ipmap application. This means that copied symbols will be
placed in the user plane rather than in the application plane.
In general, the COPY menu option on the user interface exists for use
with other applications, and not with ipmap. When manipulating IP
topology symbols, it is recommended that the COPY/PASTE function not
be used at all.
4d. An Example
A common exercise using both the Add..Object and Cut/Paste functions
is partitioning a submap in to smaller, more managable units. For
instance, to partition a Network submap into multiple Segments:
- Open the Network submap that contains the Segment submap which
you want to partition.
- Add a new Segment symbol to that Network submap.
- Select IP Map from the "Add Object" dialog box to ensure that
ipmap recognizes the new symbol in its application plane.
- Double-click on the segment.
- Cut nodes from the Segment submap that you want to partition.
Make sure that you cut from "this submap", rather than from
"all submaps".
- Go back into the Network map where the new Segment submap was
created.
- Paste the nodes cut from the Segment map into the new Segment
submap.
In a similar manner, Internet/Location submaps can be partitioned
by adding a new Internet/Location symbol and pasting networks and
routers into it.
Support Line: NetView -Cutting and Pasting ITEM: AU0586
Dated: January 1996 Category: N/A
This HTML file was generated 99/06/24~13:30:24
Comments or suggestions?
Contact us