blob: 171bae322032db57f51e77319fe79ecf58fde93c [file] [log] [blame]
Marc De Leenheerc44b1a72017-06-12 20:05:14 -07001/*
2 * Copyright 2017-present Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.driver.optical.query;
17
18import org.onosproject.net.ChannelSpacing;
19import org.onosproject.net.OchSignal;
20import org.onosproject.net.PortNumber;
21
22import java.util.Set;
23
24/**
25 * C-band DWDM channel plan for 25 GHz fixed grid and centered around 193.1 GHz.
26 *
27 * This supports up to 160 optical channels.
28 */
29public class CBand25LambdaQuery extends CBandLambdaQuery {
30 @Override
31 public Set<OchSignal> queryLambdas(PortNumber port) {
32 channelSpacing = ChannelSpacing.CHL_25GHZ;
33 lambdaCount = 160;
34 slotGranularity = 2;
35
36 return super.queryLambdas(port);
37 }
38}