From 6a2abc8402af63dd8941b4652278a6df404d781a Mon Sep 17 00:00:00 2001 From: Dinh Danh Le Date: Thu, 23 Aug 2018 00:41:47 +0100 Subject: Add docs for the examples package This review is big because it contains examples for the whole project. The big size is mainly due to the site.xml, logos and css files which are repeatedly created, and more aciidoc files are needed. The pom.xml files are changed properly. Change-Id: I42a94e4d898529f9249ef03de908c8b1a0142c7f Signed-off-by: Dinh Danh Le Issue-ID: POLICY-867 --- .../examples-pcvs/src/site/asciidoc/install.adoc | 14 +++ .../src/site/asciidoc/introduction.adoc | 16 +++ .../examples-pcvs/src/site/asciidoc/vpnsla.adoc | 14 +++ .../src/site/asciidoc/vpnsla/avro-ctxt.adoc | 14 +++ .../src/site/asciidoc/vpnsla/avro-internal.adoc | 14 +++ .../src/site/asciidoc/vpnsla/avro-trigger.adoc | 14 +++ .../src/site/asciidoc/vpnsla/cli-spec.adoc | 14 +++ .../asciidoc/vpnsla/ctxt-events-customers.adoc | 14 +++ .../site/asciidoc/vpnsla/ctxt-events-edges.adoc | 14 +++ .../site/asciidoc/vpnsla/ctxt-events-nodes.adoc | 14 +++ .../site/asciidoc/vpnsla/ctxt-logic-customer.adoc | 14 +++ .../src/site/asciidoc/vpnsla/ctxt-logic-edges.adoc | 14 +++ .../src/site/asciidoc/vpnsla/ctxt-logic-nodes.adoc | 14 +++ .../src/site/asciidoc/vpnsla/events-trigger.adoc | 14 +++ .../src/site/asciidoc/vpnsla/logic-act.adoc | 14 +++ .../site/asciidoc/vpnsla/logic-decide-none.adoc | 14 +++ .../asciidoc/vpnsla/logic-decide-priority.adoc | 14 +++ .../src/site/asciidoc/vpnsla/logic-decide-sla.adoc | 14 +++ .../site/asciidoc/vpnsla/logic-decide-solved.adoc | 14 +++ .../src/site/asciidoc/vpnsla/logic-decide.adoc | 14 +++ .../src/site/asciidoc/vpnsla/logic-establish.adoc | 14 +++ .../src/site/asciidoc/vpnsla/logic-match.adoc | 14 +++ .../src/site/asciidoc/vpnsla/policy.adoc | 14 +++ .../site/asciidoc/vpnsla/python-linkmonitor.adoc | 14 +++ .../src/site/asciidoc/vpnsla/python-mininet.adoc | 14 +++ examples/examples-pcvs/src/site/css/site.css | 119 +++++++++++++++++++++ examples/examples-pcvs/src/site/images/logos.png | Bin 0 -> 162383 bytes examples/examples-pcvs/src/site/site.xml | 54 ++++++++++ 28 files changed, 525 insertions(+) create mode 100644 examples/examples-pcvs/src/site/asciidoc/install.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/introduction.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/avro-ctxt.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/avro-internal.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/avro-trigger.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/cli-spec.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-events-customers.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-events-edges.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-events-nodes.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-logic-customer.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-logic-edges.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-logic-nodes.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/events-trigger.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-act.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-none.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-priority.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-sla.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-solved.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-establish.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-match.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/policy.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/python-linkmonitor.adoc create mode 100644 examples/examples-pcvs/src/site/asciidoc/vpnsla/python-mininet.adoc create mode 100644 examples/examples-pcvs/src/site/css/site.css create mode 100644 examples/examples-pcvs/src/site/images/logos.png create mode 100644 examples/examples-pcvs/src/site/site.xml (limited to 'examples/examples-pcvs/src/site') diff --git a/examples/examples-pcvs/src/site/asciidoc/install.adoc b/examples/examples-pcvs/src/site/asciidoc/install.adoc new file mode 100644 index 000000000..ea18374d9 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/install.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/install.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/introduction.adoc b/examples/examples-pcvs/src/site/asciidoc/introduction.adoc new file mode 100644 index 000000000..e22dc3f2d --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/introduction.adoc @@ -0,0 +1,16 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +== Policy-controlled Video Streaming (pcvs) with APEX + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/introduction.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla.adoc new file mode 100644 index 000000000..92d9037a2 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/avro-ctxt.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/avro-ctxt.adoc new file mode 100644 index 000000000..02976d3ed --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/avro-ctxt.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/avro-ctxt.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/avro-internal.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/avro-internal.adoc new file mode 100644 index 000000000..34bdee8fa --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/avro-internal.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/avro-internal.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/avro-trigger.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/avro-trigger.adoc new file mode 100644 index 000000000..8f015d0fd --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/avro-trigger.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/avro-trigger.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/cli-spec.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/cli-spec.adoc new file mode 100644 index 000000000..c5733789e --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/cli-spec.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/cli-spec.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-events-customers.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-events-customers.adoc new file mode 100644 index 000000000..3a5dda657 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-events-customers.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/ctxt-events-customers.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-events-edges.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-events-edges.adoc new file mode 100644 index 000000000..14f569303 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-events-edges.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/ctxt-events-edges.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-events-nodes.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-events-nodes.adoc new file mode 100644 index 000000000..7571dad3b --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-events-nodes.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/ctxt-events-nodes.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-logic-customer.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-logic-customer.adoc new file mode 100644 index 000000000..9acb06a58 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-logic-customer.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/ctxt-logic-customer.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-logic-edges.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-logic-edges.adoc new file mode 100644 index 000000000..5d8a8ddc3 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-logic-edges.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/ctxt-logic-edges.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-logic-nodes.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-logic-nodes.adoc new file mode 100644 index 000000000..207e37700 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/ctxt-logic-nodes.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/ctxt-logic-nodes.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/events-trigger.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/events-trigger.adoc new file mode 100644 index 000000000..c5727383f --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/events-trigger.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/events-trigger.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-act.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-act.adoc new file mode 100644 index 000000000..0aac08fcf --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-act.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/logic-act.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-none.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-none.adoc new file mode 100644 index 000000000..1a9f228c5 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-none.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/logic-decide-none.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-priority.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-priority.adoc new file mode 100644 index 000000000..8b672f194 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-priority.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/logic-decide-priority.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-sla.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-sla.adoc new file mode 100644 index 000000000..84173e125 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-sla.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/logic-decide-sla.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-solved.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-solved.adoc new file mode 100644 index 000000000..60fc26884 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide-solved.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/logic-decide-solved.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide.adoc new file mode 100644 index 000000000..1e4d6e5c3 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-decide.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/logic-decide.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-establish.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-establish.adoc new file mode 100644 index 000000000..a2f0b33db --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-establish.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/logic-establish.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-match.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-match.adoc new file mode 100644 index 000000000..2f4842a05 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/logic-match.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/logic-match.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/policy.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/policy.adoc new file mode 100644 index 000000000..a2bf5a7a0 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/policy.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/policy.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/python-linkmonitor.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/python-linkmonitor.adoc new file mode 100644 index 000000000..600caa763 --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/python-linkmonitor.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/python-linkmonitor.adoc[] diff --git a/examples/examples-pcvs/src/site/asciidoc/vpnsla/python-mininet.adoc b/examples/examples-pcvs/src/site/asciidoc/vpnsla/python-mininet.adoc new file mode 100644 index 000000000..925ae3eca --- /dev/null +++ b/examples/examples-pcvs/src/site/asciidoc/vpnsla/python-mininet.adoc @@ -0,0 +1,14 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +include::{adsite-examples-pcvs-dir}/site-docs/adoc/fragments/vpnsla/python-mininet.adoc[] diff --git a/examples/examples-pcvs/src/site/css/site.css b/examples/examples-pcvs/src/site/css/site.css new file mode 100644 index 000000000..67baa6d52 --- /dev/null +++ b/examples/examples-pcvs/src/site/css/site.css @@ -0,0 +1,119 @@ +/* + * ============LICENSE_START======================================================= + * Copyright (C) 2016-2018 Ericsson. All rights reserved. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + * ============LICENSE_END========================================================= + */ + +/* + * ============LICENSE_START======================================================= + * Copyright (C) 2016-2018 Ericsson. All rights reserved. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + * ============LICENSE_END========================================================= + */ +@import url(http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.2.0/css/font-awesome.css); + + +/*************** Table definitions *******************/ + +tableblock > .title, .tableblock > caption { line-height: 1.4; color: #7a2518; font-weight: 300; margin-top: 0.2em; margin-bottom: 0.5em; } + +.tableblock > caption { text-align: left; font-weight: bold; white-space: nowrap; overflow: visible; max-width: 0; } + +table.tableblock { background: white; margin-bottom: 1.25em; border: solid 1px #dddddd; } +table.tableblock thead, table.tableblock tfoot { background: whitesmoke; font-weight: bold; } +table.tableblock thead tr th, table.tableblock thead tr td, table tfoot tr th, table tfoot tr td { padding: 0.5em 0.625em 0.625em; font-size: inherit; color: #222222; text-align: left; } +table.tableblock tr th, table.tableblock tr td { padding: 0.5625em 0.625em; font-size: inherit; color: #222222; } +table.tableblock tr.even, table.tableblock tr.alt, table.tableblock tr:nth-of-type(even) { background: #f9f9f9; } +table.tableblock thead tr th, table.tableblock tfoot tr th, table.tableblock tbody tr td, table.tableblock tr td, table.tableblock tfoot tr td { display: table-cell; line-height: 1.6; } + +table.tableblock #preamble > .sectionbody > .paragraph:first-of-type p { font-size: inherit; } + +table.tableblock.grid-all { border-collapse: separate; border-spacing: 1px; -webkit-border-radius: 4px; border-radius: 4px; border-top: 1px solid #dddddd; border-bottom: 1px solid #dddddd; } + +table.tableblock.frame-topbot, table.tableblock.frame-none { border-left: 0; border-right: 0; } + +table.tableblock.frame-sides, table.tableblock.frame-none { border-top: 0; border-bottom: 0; } + +table.tableblock td .paragraph:last-child p, table.tableblock td > p:last-child { margin-bottom: 0; } + +th.tableblock.halign-left, td.tableblock.halign-left { text-align: left; } + +th.tableblock.halign-right, td.tableblock.halign-right { text-align: right; } + +th.tableblock.halign-center, td.tableblock.halign-center { text-align: center; } + +th.tableblock.valign-top, td.tableblock.valign-top { vertical-align: top; } + +th.tableblock.valign-bottom, td.tableblock.valign-bottom { vertical-align: bottom; } + +th.tableblock.valign-middle, td.tableblock.valign-middle { vertical-align: middle; } + +p.tableblock.header { color: #222222; font-weight: bold; } + + + +/*************** KBD Macro definitions *******************/ + +kbd.keyseq { color: #555555; } + +kbd:not(.keyseq) { display: inline-block; color: #222222; font-size: 0.75em; line-height: 1.4; background-color: #F7F7F7; border: 1px solid #ccc; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px white inset; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px white inset; margin: -0.15em 0.15em 0 0.15em; padding: 0.2em 0.6em 0.2em 0.5em; vertical-align: middle; white-space: nowrap; } + +kbd kbd:first-child { margin-left: 0; } + +kbd kbd:last-child { margin-right: 0; } + + +/*************** Admontion Blocks definitions *******************/ +.admonitionblock td.content > .title, .exampleblock > .title, .imageblock > .title, .videoblock > .title, .listingblock > .title, .literalblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, .sidebarblock > .title, .tableblock > .title, .verseblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title { text-align: left; font-weight: bold; } + +.admonitionblock > table { border: 0; background: none; width: 100%; margin-top: 1em; margin-bottom: 1em;} +.admonitionblock > table td.icon { text-align: center; width: 80px; } +.admonitionblock > table td.icon img { max-width: none; } +.admonitionblock > table td.icon .title { font-weight: bold; text-transform: uppercase; } +.admonitionblock > table td.content { padding-left: 1.125em; padding-right: 1.25em; border-left: 1px solid #dddddd; color: #6f6f6f; } +.admonitionblock > table td.content > :last-child > :last-child { margin-bottom: 0; } + +.admonitionblock td.icon [class^="fa icon-"]:before {font-size:2.5em;text-shadow:1px 1px 2px rgba(0,0,0,.5);cursor:default} +.admonitionblock td.icon .icon-note:before { content: "\f05a"; color: #005498; color: #003f72; } +.admonitionblock td.icon .icon-tip:before { content: "\f0eb"; text-shadow: 1px 1px 2px rgba(155, 155, 0, 0.8); color: #111; } +.admonitionblock td.icon .icon-warning:before { content: "\f071"; color: #bf6900; } +.admonitionblock td.icon .icon-caution:before { content: "\f06d"; color: #bf3400; } +.admonitionblock td.icon .icon-important:before { content: "\f06a"; color: #bf0000; } + + + +/*************** Misc definitions *******************/ + +*:not(pre) > code { font-size: 0.9375em; padding: 1px 3px 0; white-space: nowrap; background-color: #f2f2f2; border: 1px solid #cccccc; -webkit-border-radius: 4px; border-radius: 4px; text-shadow: none; } + +pre, pre > code { line-height: 1.4; color: inherit; font-family: Consolas, "Liberation Mono", Courier, monospace; font-weight: normal; } + +code { font-family: Consolas, "Liberation Mono", Courier, monospace; font-weight: normal; color: #6d180b; } + diff --git a/examples/examples-pcvs/src/site/images/logos.png b/examples/examples-pcvs/src/site/images/logos.png new file mode 100644 index 000000000..915d6e59d Binary files /dev/null and b/examples/examples-pcvs/src/site/images/logos.png differ diff --git a/examples/examples-pcvs/src/site/site.xml b/examples/examples-pcvs/src/site/site.xml new file mode 100644 index 000000000..ddfd850cd --- /dev/null +++ b/examples/examples-pcvs/src/site/site.xml @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg