Frequently Asked Questions


1.

Is network management the same as network control?

 gulliver's travels can be interpreted at several levels: it is both a fascinating book for children and a biting political satire (`my principal design was to inform, and not to amuse thee,` said jonathan swift). it is also the source of the endianness problems which have plagued computing, but that piece of programming trivia is irrelevant here. similarly there at least two levels of answer about the distinction between management and control of devices or networks. first there is a clear distinction: * management is carried out by an operator sitting at a management station. he or she enters commands to reconfigure equipment and those commands are carried out. * control, by contrast, is carried out autonomously by the network, without operator intervention in response to some external stimulus. for example, a link fails and the network automatically reconfigures equipment to route around it. i pick up my telephone and dial a number in vancouver. the network detects this without operator intervention and reconfigures equipment to route my call. there is, however, a deeper level at which these operations are similar, if not identical. both can be thought of as a stimulus (which could be an operator command) causing changes to the device.

2.

Why the toaster?

there is a classical joke comparing `real` engineers with object-oriented computer architects with which you are probably familiar. in case you are not, with acknowledgements to the anonymous author, here goes. once upon a time a king decided to test his two chief advisors. he showed them a toaster and asked them to design an embedded computer for it. the first advisor, an engineer, replied, `using a four-bit microcontroller, i would write a program that reads the darkness knob and quantises its position from snow white to coal black. the program would use that level as the index to a table of timer values. it would turn on the heating elements and start the timer with the initial value selected from the table. at the end of the time delay, it would turn off the heat and pop up the toast. come back next week, and i'll show you a working prototype.` the second advisor, a computer specialist with object-oriented design training, immediately recognised the danger of such short-sighted thinking. he said, `toasters don't just turn bread into toast; they are also used to warm frozen waffles. what you see before you is really a breakfast food cooker. as your subjects become more sophisticated, they will demand more functionality. they will need a breakfast food cooker that can also cook sausages, fry bacon, and scramble eggs. a toaster that only makes toast will soon be obsolete. if we don't look to the future, we will have to redesign the toaster completely in just a few years. `with this in mind, let's formulate a more intelligent solution to the problem. first, create a class of breakfast foods. specialise this class into subclasses: grains, pork, and poultry. the specialisation process should be repeated with grains divided into toast, muffins, pancakes and waffles; pork divided into sausage and bacon; and poultry divided into scrambled eggs, hard-boiled eggs, poached eggs, fried eggs and various omelette classes. `the ham and cheese omelette class is worth special attention because it must inherit characteristics from the pork, dairy, and poultry classes. thus, we see that the problem cannot be properly solved without multiple inheritance. at run time, the program must create the proper object and send a message to it that says, 'cook yourself.' the semantics of this message depend, of course, on the kind of object, so they have a different meaning to a piece of toast than to scrambled eggs. `reviewing the process so far, we see that the analysis phase has revealed that the primary requirement is to cook any kind of breakfast food. in the design phase, we have discovered some derived requirements. specifically, we need an object-oriented language with multiple inheritance. of course, users don't want the eggs to get cold while the bacon is frying, so concurrent processing is required, too. `don't forget the user interface. the lever that lowers the food lacks versatility, and the darkness knob is confusing. users won't buy the product unless it has a user-friendly graphical interface. when the breakfast cooker is plugged in, users should see the company logo appear on the screen, and when they click on it, the message 'booting linux 2.8' appears (linux 2.8 should be available by the time the product gets to the market). users can use a menu to select the foods they want to cook. `having made the wise decision of specifying the software first in the design phase, all that remains is to pick an adequate hardware platform for the implementation phase. a 1.2-ghz processor with 128 mb of memory, a 30-gb hard disk and a colour vga monitor should be sufficient. if you select a multitasking, object-oriented language that supports multiple inheritance and has a built-in gui, writing the program will be a snap. (imagine the difficulty we would have had if we had foolishly allowed a hardware-first design strategy to lock us into a four-bit microcontroller!)` the king had the computer specialist beheaded, and they all lived happily ever after. i hope that, as you travel through this book, savouring its object-oriented flavour, you will keep your head.

Answers

1.

Gulliver's Travels can be interpreted at several levels: it is both a fascinating book for children and a biting political satire ("my principal Design was to Inform, and not to amuse thee," said Jonathan Swift). [5] Similarly there at least two levels of answer about the distinction between management and control of devices or networks. First there is a clear distinction:

  • Management is carried out by an operator sitting at a management station. He or she enters commands to reconfigure equipment and those commands are carried out.

  • Control, by contrast, is carried out autonomously by the network, without operator intervention in response to some external stimulus. For example, a link fails and the network automatically reconfigures equipment to route around it. I pick up my telephone and dial a number in Vancouver. The network detects this without operator intervention and reconfigures equipment to route my call.

There is, however, a deeper level at which these operations are similar, if not identical. Both can be thought of as a stimulus (which could be an operator command) causing changes to the device.

2.

There is a classical joke comparing "real" engineers with object-oriented computer architects with which you are probably familiar. In case you are not, with acknowledgements to the anonymous author, here goes.

Once upon a time a king decided to test his two chief advisors. He showed them a toaster and asked them to design an embedded computer for it.

The first advisor, an engineer, replied, "Using a four-bit microcontroller, I would write a program that reads the darkness knob and quantises its position from snow white to coal black. The program would use that level as the index to a table of timer values. It would turn on the heating elements and start the timer with the initial value selected from the table. At the end of the time delay, it would turn off the heat and pop up the toast . Come back next week, and I'll show you a working prototype."

The second advisor, a computer specialist with object-oriented design training, immediately recognised the danger of such short-sighted thinking. He said, "Toasters don't just turn bread into toast; they are also used to warm frozen waffles . What you see before you is really a breakfast food cooker. As your subjects become more sophisticated, they will demand more functionality. They will need a breakfast food cooker that can also cook sausages, fry bacon, and scramble eggs. A toaster that only makes toast will soon be obsolete. If we don't look to the future, we will have to redesign the toaster completely in just a few years .

"With this in mind, let's formulate a more intelligent solution to the problem. First, create a class of breakfast foods . Specialise this class into subclasses: grains, pork, and poultry. The specialisation process should be repeated with grains divided into toast, muffins, pancakes and waffles; pork divided into sausage and bacon; and poultry divided into scrambled eggs, hard-boiled eggs, poached eggs, fried eggs and various omelette classes.

"The ham and cheese omelette class is worth special attention because it must inherit characteristics from the pork, dairy , and poultry classes. Thus, we see that the problem cannot be properly solved without multiple inheritance. At run time, the program must create the proper object and send a message to it that says, 'Cook yourself.' The semantics of this message depend, of course, on the kind of object, so they have a different meaning to a piece of toast than to scrambled eggs.

"Reviewing the process so far, we see that the analysis phase has revealed that the primary requirement is to cook any kind of breakfast food. In the design phase, we have discovered some derived requirements. Specifically, we need an object-oriented language with multiple inheritance. Of course, users don't want the eggs to get cold while the bacon is frying, so concurrent processing is required, too.

"Don't forget the user interface. The lever that lowers the food lacks versatility, and the darkness knob is confusing. Users won't buy the product unless it has a user -friendly graphical interface. When the breakfast cooker is plugged in, users should see the company logo appear on the screen, and when they click on it, the message 'Booting Linux 2.8' appears (Linux 2.8 should be available by the time the product gets to the market). Users can use a menu to select the foods they want to cook.

"Having made the wise decision of specifying the software first in the design phase, all that remains is to pick an adequate hardware platform for the implementation phase. A 1.2-GHz processor with 128 MB of memory, a 30-GB hard disk and a colour VGA monitor should be sufficient. If you select a multitasking, object-oriented language that supports multiple inheritance and has a built-in GUI, writing the program will be a snap. (Imagine the difficulty we would have had if we had foolishly allowed a hardware-first design strategy to lock us into a four-bit microcontroller!)"

The king had the computer specialist beheaded, and they all lived happily ever after.

I hope that, as you travel through this book, savouring its object-oriented flavour, you will keep your head.

[5] It is also the source of the Endianness problems which have plagued computing, but that piece of programming trivia is irrelevant here.




A Practical Approach to WBEM[s]CIM Management
A Practical Approach to WBEM[s]CIM Management
ISBN: 849323061
EAN: N/A
Year: 2006
Pages: 152

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net