Committed by
Gerrit Code Review
[ONOS-3119] Implementation of Flow classifier installer for SFC.
Change-Id: Idf21beaa90313c231014ae7c77dff9cb772f52d0
Showing
2 changed files
with
65 additions
and
0 deletions
apps/vtn/sfcmgr/src/main/java/org/onosproject/sfc/installer/impl/DefaultFlowClassifierInstaller.java
0 → 100644
1 | +/* | ||
2 | + * Copyright 2015 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 | + */ | ||
16 | +package org.onosproject.sfc.installer.impl; | ||
17 | + | ||
18 | +import org.onosproject.core.ApplicationId; | ||
19 | +import org.onosproject.net.flowobjective.Objective.Operation; | ||
20 | +import org.onosproject.sfc.installer.FlowClassifierInstaller; | ||
21 | +import org.onosproject.vtnrsc.FlowClassifier; | ||
22 | +import org.onosproject.vtnrsc.PortPair; | ||
23 | + | ||
24 | +/** | ||
25 | + * Provides flow classifier installer. | ||
26 | + */ | ||
27 | +public class DefaultFlowClassifierInstaller implements FlowClassifierInstaller { | ||
28 | + | ||
29 | + /** | ||
30 | + * Default constructor. | ||
31 | + */ | ||
32 | + public DefaultFlowClassifierInstaller() { | ||
33 | + } | ||
34 | + | ||
35 | + @Override | ||
36 | + public void install(FlowClassifier flowClassifier, PortPair portPair) { | ||
37 | + // TODO: Process flow-classifier for installation. | ||
38 | + } | ||
39 | + | ||
40 | + @Override | ||
41 | + public void programFlowClassification(FlowClassifier flowClassifier, PortPair portPair, ApplicationId appid, | ||
42 | + Operation type) { | ||
43 | + // TODO: program forwarding objective for flow-classifier installation. | ||
44 | + } | ||
45 | +} |
1 | +/* | ||
2 | + * Copyright 2015 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 | + */ | ||
16 | + | ||
17 | +/** | ||
18 | + * Implementation of Service for installing flow classifier rules in OVS. | ||
19 | + */ | ||
20 | +package org.onosproject.sfc.installer.impl; |
-
Please register or login to post a comment