摘要:
Methods and apparatus are disclosed for a token bucket metering or policing system with a delayed filing scheme which may be used, inter alia, in a computer or communications system, such as a packet switching system, router, or other device. The token bucket scheme updates the number of tokens in a particular bucket in response to an expiration of a timer or a receipt of a packet corresponding to a packet stream being metered or policed based on the particular bucket. One implementation determines whether a difference between a current time value with a last bucket update time value equals or exceeds a predetermined time interval. If the difference between the current time value with the last bucket update time value equals or exceeds the predetermined time interval, then a predetermined number of tokens is added to a bucket, and the last bucket update time value is incremented by approximately the predetermined time interval. In one implementation, the predetermined number of tokens corresponds to the number of tokens required to send a maximum sized packet and the predetermined time interval corresponds to the time required to accumulate the number of tokens required to send a maximum sized packet at the corresponding token generation rate. In this manner, a simple addition operation may be used to update the number of tokens in a token bucket to ensure that a maximum sized packet may be sent. Also, by updating the last bucket update time value by approximately the predetermined time interval, and not merely setting it to the current time, tokens which should be added to the token bucket are not lost, but rather added at a later time.
摘要:
In one embodiment, a network device in a network obtains information identifying first storage and second storage. The network device notifies one or more other network devices in the network that traffic that is received by the other network devices is to be routed to the network device. The network device performs data migration from the first storage to the second storage. When the data migration from the first storage to the second storage is completed, the network device notifies the other network devices in the network that traffic that is received by the other network devices is no longer to be routed to the network device.
摘要:
Methods and apparatus for implementing storage virtualization on a network device of a storage area network are disclosed. A virtual enclosure is created that has one or more virtual enclosure ports and is adapted for representing one or more virtual storage units. Each of the virtual storage units represents one or more physical storage locations on one or more physical storage units of the storage area network. Each of the virtual enclosure ports of the virtual enclosure is associated with a port of a network device within the storage area network. An address or identifier is then assigned to each of the virtual enclosure ports.