Showing
142 changed files
with
2505 additions
and
442 deletions
... | @@ -51,7 +51,7 @@ alias ll='less $KARAF_LOG' | ... | @@ -51,7 +51,7 @@ alias ll='less $KARAF_LOG' |
51 | alias pp='python -m json.tool' | 51 | alias pp='python -m json.tool' |
52 | 52 | ||
53 | # Short-hand to launch API docs and sample topology viewer GUI | 53 | # Short-hand to launch API docs and sample topology viewer GUI |
54 | -alias docs='open $ONOS_ROOT/target/site/apidocs/index.html' | 54 | +alias docs='open $ONOS_ROOT/docs/target/site/apidocs/index.html' |
55 | alias gui='onos-gui' | 55 | alias gui='onos-gui' |
56 | 56 | ||
57 | 57 | ... | ... |
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | +<!-- | ||
3 | + ~ Licensed to the Apache Software Foundation (ASF) under one | ||
4 | + ~ or more contributor license agreements. See the NOTICE file | ||
5 | + ~ distributed with this work for additional information | ||
6 | + ~ regarding copyright ownership. The ASF licenses this file | ||
7 | + ~ to you under the Apache License, Version 2.0 (the | ||
8 | + ~ "License"); you may not use this file except in compliance | ||
9 | + ~ with the License. You may obtain a copy of the License at | ||
10 | + ~ | ||
11 | + ~ http://www.apache.org/licenses/LICENSE-2.0 | ||
12 | + ~ | ||
13 | + ~ Unless required by applicable law or agreed to in writing, | ||
14 | + ~ software distributed under the License is distributed on an | ||
15 | + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
16 | + ~ KIND, either express or implied. See the License for the | ||
17 | + ~ specific language governing permissions and limitations | ||
18 | + ~ under the License. | ||
19 | + --> | ||
2 | <project xmlns="http://maven.apache.org/POM/4.0.0" | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.junit; | 19 | package org.onlab.junit; |
2 | 20 | ||
3 | import org.hamcrest.Description; | 21 | import org.hamcrest.Description; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.junit; | 19 | package org.onlab.junit; |
2 | 20 | ||
3 | import static com.google.common.base.Preconditions.checkArgument; | 21 | import static com.google.common.base.Preconditions.checkArgument; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.junit; | 19 | package org.onlab.junit; |
2 | 20 | ||
3 | import java.lang.reflect.Constructor; | 21 | import java.lang.reflect.Constructor; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.junit; | 19 | package org.onlab.junit; |
2 | 20 | ||
3 | import org.hamcrest.Description; | 21 | import org.hamcrest.Description; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
19 | + | ||
1 | /** | 20 | /** |
2 | * Utilities to assist in developing JUnit tests. | 21 | * Utilities to assist in developing JUnit tests. |
3 | */ | 22 | */ | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.junit; | 19 | package org.onlab.junit; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.junit; | 19 | package org.onlab.junit; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.junit; | 19 | package org.onlab.junit; |
2 | 20 | ||
3 | import static org.junit.Assert.assertArrayEquals; | 21 | import static org.junit.Assert.assertArrayEquals; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.junit; | 19 | package org.onlab.junit; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | +<!-- | ||
3 | + ~ Licensed to the Apache Software Foundation (ASF) under one | ||
4 | + ~ or more contributor license agreements. See the NOTICE file | ||
5 | + ~ distributed with this work for additional information | ||
6 | + ~ regarding copyright ownership. The ASF licenses this file | ||
7 | + ~ to you under the Apache License, Version 2.0 (the | ||
8 | + ~ "License"); you may not use this file except in compliance | ||
9 | + ~ with the License. You may obtain a copy of the License at | ||
10 | + ~ | ||
11 | + ~ http://www.apache.org/licenses/LICENSE-2.0 | ||
12 | + ~ | ||
13 | + ~ Unless required by applicable law or agreed to in writing, | ||
14 | + ~ software distributed under the License is distributed on an | ||
15 | + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
16 | + ~ KIND, either express or implied. See the License for the | ||
17 | + ~ specific language governing permissions and limitations | ||
18 | + ~ under the License. | ||
19 | + --> | ||
2 | <project xmlns="http://maven.apache.org/POM/4.0.0" | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import java.util.Objects; | 21 | import java.util.Objects; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import java.util.HashMap; | 21 | import java.util.HashMap; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import com.google.common.collect.ImmutableSet; | 21 | import com.google.common.collect.ImmutableSet; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import java.util.HashSet; | 21 | import java.util.HashSet; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import com.google.common.collect.ImmutableList; | 21 | import com.google.common.collect.ImmutableList; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import com.google.common.collect.ImmutableList; | 21 | import com.google.common.collect.ImmutableList; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import java.util.HashMap; | 21 | import java.util.HashMap; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import java.util.ArrayList; | 21 | import java.util.ArrayList; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | 21 | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import java.util.Map; | 21 | import java.util.Map; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import com.google.common.collect.ImmutableList; | 21 | import com.google.common.collect.ImmutableList; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import java.util.List; | 21 | import java.util.List; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import java.util.ArrayList; | 21 | import java.util.ArrayList; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
19 | + | ||
1 | /** | 20 | /** |
2 | * Graph abstractions and graph path finding algorithms. | 21 | * Graph abstractions and graph path finding algorithms. |
3 | */ | 22 | */ | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.metrics; | 19 | package org.onlab.metrics; |
2 | 20 | ||
3 | import com.codahale.metrics.Gauge; | 21 | import com.codahale.metrics.Gauge; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.metrics; | 19 | package org.onlab.metrics; |
2 | 20 | ||
3 | import java.util.concurrent.ConcurrentHashMap; | 21 | import java.util.concurrent.ConcurrentHashMap; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.metrics; | 19 | package org.onlab.metrics; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.metrics; | 19 | package org.onlab.metrics; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.metrics; | 19 | package org.onlab.metrics; |
2 | 20 | ||
3 | import java.util.Map; | 21 | import java.util.Map; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.metrics; | 19 | package org.onlab.metrics; |
2 | 20 | ||
3 | import java.util.Map; | 21 | import java.util.Map; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
19 | + | ||
1 | /** | 20 | /** |
2 | * Misc utils for various performance metrics. | 21 | * Misc utils for various performance metrics. |
3 | */ | 22 | */ | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
19 | + | ||
20 | + | ||
32 | 21 | ||
33 | package org.onlab.packet; | 22 | package org.onlab.packet; |
34 | 23 | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
19 | + | ||
20 | + | ||
32 | 21 | ||
33 | package org.onlab.packet; | 22 | package org.onlab.packet; |
34 | 23 | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
19 | + | ||
20 | + | ||
32 | 21 | ||
33 | package org.onlab.packet; | 22 | package org.onlab.packet; |
34 | 23 | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
19 | + | ||
20 | + | ||
32 | 21 | ||
33 | package org.onlab.packet; | 22 | package org.onlab.packet; |
34 | 23 | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
19 | + | ||
20 | + | ||
32 | 21 | ||
33 | package org.onlab.packet; | 22 | package org.onlab.packet; |
34 | 23 | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
19 | + | ||
20 | + | ||
32 | 21 | ||
33 | package org.onlab.packet; | 22 | package org.onlab.packet; |
34 | 23 | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
19 | + | ||
20 | + | ||
32 | 21 | ||
33 | package org.onlab.packet; | 22 | package org.onlab.packet; |
34 | 23 | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
19 | + | ||
20 | + | ||
32 | 21 | ||
33 | package org.onlab.packet; | 22 | package org.onlab.packet; |
34 | 23 | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
19 | + | ||
20 | + | ||
32 | 21 | ||
33 | package org.onlab.packet; | 22 | package org.onlab.packet; |
34 | 23 | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
32 | 19 | ||
33 | /** | 20 | /** |
34 | * | 21 | * | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | import java.nio.ByteBuffer; | 21 | import java.nio.ByteBuffer; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | import java.util.Objects; | 21 | import java.util.Objects; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | import java.net.InetAddress; | 21 | import java.net.InetAddress; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | import java.util.Objects; | 21 | import java.util.Objects; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | import java.util.Arrays; | 21 | import java.util.Arrays; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | import java.util.Arrays; | 21 | import java.util.Arrays; | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
19 | + | ||
20 | + | ||
32 | 21 | ||
33 | package org.onlab.packet; | 22 | package org.onlab.packet; |
34 | 23 | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
32 | 19 | ||
33 | /** | 20 | /** |
34 | * | 21 | * | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | 17 | + * under the License. |
18 | + */ | ||
16 | /** | 19 | /** |
17 | * Licensed under the Apache License, Version 2.0 (the "License"); you may | 20 | * Licensed under the Apache License, Version 2.0 (the "License"); you may |
18 | * not use this file except in compliance with the License. You may obtain | 21 | * not use this file except in compliance with the License. You may obtain | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
19 | + | ||
20 | + | ||
32 | 21 | ||
33 | package org.onlab.packet; | 22 | package org.onlab.packet; |
34 | 23 | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | 17 | + * under the License. |
18 | + */ | ||
16 | package org.onlab.packet; | 19 | package org.onlab.packet; |
17 | 20 | ||
18 | import java.util.Arrays; | 21 | import java.util.Arrays; | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | 17 | + * under the License. |
18 | + */ | ||
16 | package org.onlab.packet; | 19 | package org.onlab.packet; |
17 | 20 | ||
18 | import java.nio.ByteBuffer; | 21 | import java.nio.ByteBuffer; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | import com.google.common.collect.Lists; | 21 | import com.google.common.collect.Lists; | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
19 | + | ||
20 | + | ||
32 | 21 | ||
33 | package org.onlab.packet; | 22 | package org.onlab.packet; |
34 | 23 | ... | ... |
1 | -/******************************************************************************* | 1 | +/* |
2 | - * Copyright 2014 Open Networking Laboratory | 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
3 | - * | 3 | + * or more contributor license agreements. See the NOTICE file |
4 | - * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | + * distributed with this work for additional information |
5 | - * you may not use this file except in compliance with the License. | 5 | + * regarding copyright ownership. The ASF licenses this file |
6 | - * You may obtain a copy of the License at | 6 | + * to you under the Apache License, Version 2.0 (the |
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
7 | * | 9 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 11 | * |
10 | - * Unless required by applicable law or agreed to in writing, software | 12 | + * Unless required by applicable law or agreed to in writing, |
11 | - * distributed under the License is distributed on an "AS IS" BASIS, | 13 | + * software distributed under the License is distributed on an |
12 | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
13 | - * See the License for the specific language governing permissions and | 15 | + * KIND, either express or implied. See the License for the |
14 | - * limitations under the License. | 16 | + * specific language governing permissions and limitations |
15 | - ******************************************************************************/ | ||
16 | -/** | ||
17 | - * Copyright 2011, Big Switch Networks, Inc. | ||
18 | - * Originally created by David Erickson, Stanford University | ||
19 | - * | ||
20 | - * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
21 | - * not use this file except in compliance with the License. You may obtain | ||
22 | - * a copy of the License at | ||
23 | - * | ||
24 | - * http://www.apache.org/licenses/LICENSE-2.0 | ||
25 | - * | ||
26 | - * Unless required by applicable law or agreed to in writing, software | ||
27 | - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
28 | - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
29 | - * License for the specific language governing permissions and limitations | ||
30 | * under the License. | 17 | * under the License. |
31 | - **/ | 18 | + */ |
19 | + | ||
20 | + | ||
32 | 21 | ||
33 | package org.onlab.packet; | 22 | package org.onlab.packet; |
34 | 23 | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
19 | + | ||
1 | /** | 20 | /** |
2 | * Utilities for decoding and encoding packets of various network protocols | 21 | * Utilities for decoding and encoding packets of various network protocols |
3 | * and encapsulations. | 22 | * and encapsulations. | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.util; | 19 | package org.onlab.util; |
2 | 20 | ||
3 | import java.util.Objects; | 21 | import java.util.Objects; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.util; | 19 | package org.onlab.util; |
2 | 20 | ||
3 | public final class HexString { | 21 | public final class HexString { | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.util; | 19 | package org.onlab.util; |
2 | 20 | ||
3 | import java.nio.ByteBuffer; | 21 | import java.nio.ByteBuffer; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.util; | 19 | package org.onlab.util; |
2 | 20 | ||
3 | import java.util.concurrent.ConcurrentHashMap; | 21 | import java.util.concurrent.ConcurrentHashMap; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.util; | 19 | package org.onlab.util; |
2 | 20 | ||
3 | import org.jboss.netty.util.HashedWheelTimer; | 21 | import org.jboss.netty.util.HashedWheelTimer; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.util; | 19 | package org.onlab.util; |
2 | 20 | ||
3 | import com.google.common.base.Strings; | 21 | import com.google.common.base.Strings; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
19 | + | ||
1 | /** | 20 | /** |
2 | * Miscellaneous domain-agnostic utilities. | 21 | * Miscellaneous domain-agnostic utilities. |
3 | */ | 22 | */ | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import com.google.common.testing.EqualsTester; | 21 | import com.google.common.testing.EqualsTester; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import com.google.common.collect.ImmutableSet; | 21 | import com.google.common.collect.ImmutableSet; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import com.google.common.testing.EqualsTester; | 21 | import com.google.common.testing.EqualsTester; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import com.google.common.testing.EqualsTester; | 21 | import com.google.common.testing.EqualsTester; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import java.util.Set; | 21 | import java.util.Set; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import com.google.common.collect.Ordering; | 21 | import com.google.common.collect.Ordering; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import java.util.Objects; | 21 | import java.util.Objects; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.graph; | 19 | package org.onlab.graph; |
2 | 20 | ||
3 | import java.util.Objects; | 21 | import java.util.Objects; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | import static org.junit.Assert.assertEquals; | 21 | import static org.junit.Assert.assertEquals; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.packet; | 19 | package org.onlab.packet; |
2 | 20 | ||
3 | import static org.junit.Assert.assertEquals; | 21 | import static org.junit.Assert.assertEquals; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.util; | 19 | package org.onlab.util; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.util; | 19 | package org.onlab.util; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.util; | 19 | package org.onlab.util; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | +<!-- | ||
3 | + ~ Licensed to the Apache Software Foundation (ASF) under one | ||
4 | + ~ or more contributor license agreements. See the NOTICE file | ||
5 | + ~ distributed with this work for additional information | ||
6 | + ~ regarding copyright ownership. The ASF licenses this file | ||
7 | + ~ to you under the Apache License, Version 2.0 (the | ||
8 | + ~ "License"); you may not use this file except in compliance | ||
9 | + ~ with the License. You may obtain a copy of the License at | ||
10 | + ~ | ||
11 | + ~ http://www.apache.org/licenses/LICENSE-2.0 | ||
12 | + ~ | ||
13 | + ~ Unless required by applicable law or agreed to in writing, | ||
14 | + ~ software distributed under the License is distributed on an | ||
15 | + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
16 | + ~ KIND, either express or implied. See the License for the | ||
17 | + ~ specific language governing permissions and limitations | ||
18 | + ~ under the License. | ||
19 | + --> | ||
2 | <project xmlns="http://maven.apache.org/POM/4.0.0" | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.netty; | 19 | package org.onlab.netty; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.netty; | 19 | package org.onlab.netty; |
2 | 20 | ||
3 | import java.io.IOException; | 21 | import java.io.IOException; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.netty; | 19 | package org.onlab.netty; |
2 | 20 | ||
3 | import java.util.Objects; | 21 | import java.util.Objects; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.netty; | 19 | package org.onlab.netty; |
2 | 20 | ||
3 | import java.io.IOException; | 21 | import java.io.IOException; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.netty; | 19 | package org.onlab.netty; |
2 | 20 | ||
3 | import org.onlab.util.KryoNamespace; | 21 | import org.onlab.util.KryoNamespace; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.netty; | 19 | package org.onlab.netty; |
2 | 20 | ||
3 | import org.slf4j.Logger; | 21 | import org.slf4j.Logger; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.netty; | 19 | package org.onlab.netty; |
2 | 20 | ||
3 | import java.io.IOException; | 21 | import java.io.IOException; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.netty; | 19 | package org.onlab.netty; |
2 | 20 | ||
3 | import static com.google.common.base.Preconditions.checkState; | 21 | import static com.google.common.base.Preconditions.checkState; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.netty; | 19 | package org.onlab.netty; |
2 | 20 | ||
3 | import org.slf4j.Logger; | 21 | import org.slf4j.Logger; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.netty; | 19 | package org.onlab.netty; |
2 | 20 | ||
3 | import java.io.IOException; | 21 | import java.io.IOException; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.netty; | 19 | package org.onlab.netty; |
2 | 20 | ||
3 | import java.io.IOException; | 21 | import java.io.IOException; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.netty; | 19 | package org.onlab.netty; |
2 | 20 | ||
3 | import java.io.IOException; | 21 | import java.io.IOException; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
19 | + | ||
1 | /** | 20 | /** |
2 | * Asynchronous messaging APIs implemented using the Netty framework. | 21 | * Asynchronous messaging APIs implemented using the Netty framework. |
3 | */ | 22 | */ | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.netty; | 19 | package org.onlab.netty; |
2 | 20 | ||
3 | import java.util.concurrent.Future; | 21 | import java.util.concurrent.Future; | ... | ... |
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | +<!-- | ||
3 | + ~ Licensed to the Apache Software Foundation (ASF) under one | ||
4 | + ~ or more contributor license agreements. See the NOTICE file | ||
5 | + ~ distributed with this work for additional information | ||
6 | + ~ regarding copyright ownership. The ASF licenses this file | ||
7 | + ~ to you under the Apache License, Version 2.0 (the | ||
8 | + ~ "License"); you may not use this file except in compliance | ||
9 | + ~ with the License. You may obtain a copy of the License at | ||
10 | + ~ | ||
11 | + ~ http://www.apache.org/licenses/LICENSE-2.0 | ||
12 | + ~ | ||
13 | + ~ Unless required by applicable law or agreed to in writing, | ||
14 | + ~ software distributed under the License is distributed on an | ||
15 | + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
16 | + ~ KIND, either express or implied. See the License for the | ||
17 | + ~ specific language governing permissions and limitations | ||
18 | + ~ under the License. | ||
19 | + --> | ||
2 | <project xmlns="http://maven.apache.org/POM/4.0.0" | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | import java.io.IOException; | 21 | import java.io.IOException; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | import java.io.IOException; | 21 | import java.io.IOException; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | import org.onlab.util.Counter; | 21 | import org.onlab.util.Counter; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | import org.slf4j.Logger; | 21 | import org.slf4j.Logger; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
19 | + | ||
1 | /** | 20 | /** |
2 | * Mechanism to transfer messages over network using IO loop and | 21 | * Mechanism to transfer messages over network using IO loop and |
3 | * message stream, backed by NIO byte buffers. | 22 | * message stream, backed by NIO byte buffers. | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | import org.junit.Before; | 21 | import org.junit.Before; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | import org.junit.Test; | 21 | import org.junit.Test; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | import org.junit.Before; | 21 | import org.junit.Before; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | import com.google.common.collect.Lists; | 21 | import com.google.common.collect.Lists; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | import com.google.common.collect.Lists; | 21 | import com.google.common.collect.Lists; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | import org.junit.After; | 21 | import org.junit.After; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | import java.io.IOException; | 21 | import java.io.IOException; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | import static com.google.common.base.Preconditions.checkNotNull; | 21 | import static com.google.common.base.Preconditions.checkNotNull; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.nio; | 19 | package org.onlab.nio; |
2 | 20 | ||
3 | import java.nio.ByteBuffer; | 21 | import java.nio.ByteBuffer; | ... | ... |
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | +<!-- | ||
3 | + ~ Licensed to the Apache Software Foundation (ASF) under one | ||
4 | + ~ or more contributor license agreements. See the NOTICE file | ||
5 | + ~ distributed with this work for additional information | ||
6 | + ~ regarding copyright ownership. The ASF licenses this file | ||
7 | + ~ to you under the Apache License, Version 2.0 (the | ||
8 | + ~ "License"); you may not use this file except in compliance | ||
9 | + ~ with the License. You may obtain a copy of the License at | ||
10 | + ~ | ||
11 | + ~ http://www.apache.org/licenses/LICENSE-2.0 | ||
12 | + ~ | ||
13 | + ~ Unless required by applicable law or agreed to in writing, | ||
14 | + ~ software distributed under the License is distributed on an | ||
15 | + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
16 | + ~ KIND, either express or implied. See the License for the | ||
17 | + ~ specific language governing permissions and limitations | ||
18 | + ~ under the License. | ||
19 | + --> | ||
2 | <project xmlns="http://maven.apache.org/POM/4.0.0" | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.osgi; | 19 | package org.onlab.osgi; |
2 | 20 | ||
3 | import org.osgi.framework.BundleContext; | 21 | import org.osgi.framework.BundleContext; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.osgi; | 19 | package org.onlab.osgi; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.osgi; | 19 | package org.onlab.osgi; |
2 | 20 | ||
3 | /** | 21 | /** | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.osgi; | 19 | package org.onlab.osgi; |
2 | 20 | ||
3 | import com.google.common.collect.ClassToInstanceMap; | 21 | import com.google.common.collect.ClassToInstanceMap; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
19 | + | ||
1 | /** | 20 | /** |
2 | * Facilities for building testable components in OSGi independent fashion. | 21 | * Facilities for building testable components in OSGi independent fashion. |
3 | */ | 22 | */ | ... | ... |
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | +<!-- | ||
3 | + ~ Licensed to the Apache Software Foundation (ASF) under one | ||
4 | + ~ or more contributor license agreements. See the NOTICE file | ||
5 | + ~ distributed with this work for additional information | ||
6 | + ~ regarding copyright ownership. The ASF licenses this file | ||
7 | + ~ to you under the Apache License, Version 2.0 (the | ||
8 | + ~ "License"); you may not use this file except in compliance | ||
9 | + ~ with the License. You may obtain a copy of the License at | ||
10 | + ~ | ||
11 | + ~ http://www.apache.org/licenses/LICENSE-2.0 | ||
12 | + ~ | ||
13 | + ~ Unless required by applicable law or agreed to in writing, | ||
14 | + ~ software distributed under the License is distributed on an | ||
15 | + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
16 | + ~ KIND, either express or implied. See the License for the | ||
17 | + ~ specific language governing permissions and limitations | ||
18 | + ~ under the License. | ||
19 | + --> | ||
2 | <project xmlns="http://maven.apache.org/POM/4.0.0" | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ... | ... |
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | +<!-- | ||
3 | + ~ Licensed to the Apache Software Foundation (ASF) under one | ||
4 | + ~ or more contributor license agreements. See the NOTICE file | ||
5 | + ~ distributed with this work for additional information | ||
6 | + ~ regarding copyright ownership. The ASF licenses this file | ||
7 | + ~ to you under the Apache License, Version 2.0 (the | ||
8 | + ~ "License"); you may not use this file except in compliance | ||
9 | + ~ with the License. You may obtain a copy of the License at | ||
10 | + ~ | ||
11 | + ~ http://www.apache.org/licenses/LICENSE-2.0 | ||
12 | + ~ | ||
13 | + ~ Unless required by applicable law or agreed to in writing, | ||
14 | + ~ software distributed under the License is distributed on an | ||
15 | + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
16 | + ~ KIND, either express or implied. See the License for the | ||
17 | + ~ specific language governing permissions and limitations | ||
18 | + ~ under the License. | ||
19 | + --> | ||
2 | <project xmlns="http://maven.apache.org/POM/4.0.0" | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.rest; | 19 | package org.onlab.rest; |
2 | 20 | ||
3 | import org.onlab.osgi.DefaultServiceDirectory; | 21 | import org.onlab.osgi.DefaultServiceDirectory; | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
19 | + | ||
1 | /** | 20 | /** |
2 | * Facilities for building JAX-RS web resources. | 21 | * Facilities for building JAX-RS web resources. |
3 | */ | 22 | */ | ... | ... |
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | +<!-- | ||
3 | + ~ Licensed to the Apache Software Foundation (ASF) under one | ||
4 | + ~ or more contributor license agreements. See the NOTICE file | ||
5 | + ~ distributed with this work for additional information | ||
6 | + ~ regarding copyright ownership. The ASF licenses this file | ||
7 | + ~ to you under the Apache License, Version 2.0 (the | ||
8 | + ~ "License"); you may not use this file except in compliance | ||
9 | + ~ with the License. You may obtain a copy of the License at | ||
10 | + ~ | ||
11 | + ~ http://www.apache.org/licenses/LICENSE-2.0 | ||
12 | + ~ | ||
13 | + ~ Unless required by applicable law or agreed to in writing, | ||
14 | + ~ software distributed under the License is distributed on an | ||
15 | + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
16 | + ~ KIND, either express or implied. See the License for the | ||
17 | + ~ specific language governing permissions and limitations | ||
18 | + ~ under the License. | ||
19 | + --> | ||
2 | <project xmlns="http://maven.apache.org/POM/4.0.0" | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ... | ... |
1 | +/* | ||
2 | + * Licensed to the Apache Software Foundation (ASF) under one | ||
3 | + * or more contributor license agreements. See the NOTICE file | ||
4 | + * distributed with this work for additional information | ||
5 | + * regarding copyright ownership. The ASF licenses this file | ||
6 | + * to you under the Apache License, Version 2.0 (the | ||
7 | + * "License"); you may not use this file except in compliance | ||
8 | + * with the License. You may obtain a copy of the License at | ||
9 | + * | ||
10 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | + * | ||
12 | + * Unless required by applicable law or agreed to in writing, | ||
13 | + * software distributed under the License is distributed on an | ||
14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
15 | + * KIND, either express or implied. See the License for the | ||
16 | + * specific language governing permissions and limitations | ||
17 | + * under the License. | ||
18 | + */ | ||
1 | package org.onlab.thirdparty; | 19 | package org.onlab.thirdparty; |
2 | 20 | ||
3 | 21 | ... | ... |
-
Please register or login to post a comment