OSDN Git Service

Change of document
authorNIWA Hideyuki <niwa.niwa@nifty.ne.jp>
Wed, 30 Mar 2016 05:51:44 +0000 (14:51 +0900)
committerNIWA Hideyuki <niwa.niwa@nifty.ne.jp>
Wed, 30 Mar 2016 05:51:44 +0000 (14:51 +0900)
README.md
src/INSTALL
src/NEWS
src/README
src/fulcon.spec
src/subcmd/net-add
src/subcmd/net-nic-add

index ee9a4b0..d9caf33 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,16 +1,25 @@
 Fulcon / Slot-OS Platform 0.3    Copyright (C) 2015-2016 NIWA Hideyuki
     Apache License Version 2.0
 
-`Fulcon/Slot-OS` is the system container platform.
-
-Slot-OS divides the HOST machine into two or more software partitions (slot). Each partition can be operated like another machine of the same composition. 
-- Slot is a virtual partition divided with software. 
-- CPU%, a number of CPU, MEMORY, and virtual NIC of each slot can be set dynamically in each slot. 
-- The image of OS of Slot is generated from HOST OS. Download is unnecessary. 
-
-Fulcon/ Root of the Slot-OS container has a strong root authority, and the same operation as root of HOST is possible. 
-
-Fulcon can handle CentOS 7 , Ubuntu 15.04, Fedora 23
+## What is Fulcon/Slot-OS?
+
+- Slot-OS divides the HOST machine into two or more software partitions (slot). 
+- Each slot can be operated like another machine of the same composition. 
+- Root of the Fulcon/Slot-OS container has a strong root authority, and the same operation as root of HOST is possible. 
+- The slot can dynamically compose the network. (SDN function)
+
+## Function of Fulcon/Slot-OS
+- Function to divide machine into two or more slots
+- Function to generate image for slot from rootfs of HOST
+- Dynamic addition and deletion (SDN) function of two or more Internet Protocol addresses
+- Allocation of resource of each slot (CPU%, number of CPU, and memory size) and dynamic modification function
+- Console function of slot
+- Listing function of the entire slot
+- Suspension (temporary stop) and resume of slot
+- Automatic update-function of two or more slots
+- High-speed backup function
+
+Fulcon can handle CentOS 7, Ubuntu 15.04, Fedora 23
 
 ### Install pacage
 
index a7b8ac2..a453982 100644 (file)
@@ -1,57 +1,7 @@
 Installation
 =============
 
-1. Building:
-
-ubuntu
-
-$ sudo apt-get install docker.io
-$ sudo apt-get install python-ipy
-$ sudo apt-get install bridge-utils
-
-$ tar xzf fulcon.tgz
-$ cd fulcon
-$ sudo make install
-
-CentOS 7
-
-$ sudo yum install docker-io
-$ sudo yum install python-IPy
-$ sudo yum install bridge-utils
-
-$ tar xzf fulcon.tgz
-$ cd fulcon
-$ sudo make install
-
-2. Setup:
-  
-1) The image of CentOS 7, Ubuntu15.04 and Ubuntu15.10 is prepared.  
-  
-$  sudo fulcon setup centos7  
-$  sudo fulcon setup ubuntu1504  
-$  sudo fulcon setup ubuntu1510  
-  
-It takes the minute to several ten completion.
-It only has to execute only the kind of the image to be used.
-This operation do only first once.
-
-The image is builded by using Dockerfile.
-If it does not go well.images are generated with following Dockerfile.  
-     /var/lib/fulcon/driver/dockerfile/centos7/Dockerfile  
-     /var/lib/fulcon/driver/dockerfile/ubuntu1504/Dockerfile  
-     /var/lib/fulcon/driver/dockerfile/ubuntu1510/Dockerfile  
-It must be builded "fulcon/centos7", "fulcon/ubuntu1504" and "fulcon/ubuntu1510"
-
-2) The image of default is set.  
-  
-$  sudo fulcon set-default-image fulcon/centos7  
-or  
-$  sudo fulcon set-default-image fulcon/ubuntu1504  
-or  
-$  sudo fulcon set-default-image fulcon/ubuntu1510  
-  
-fulcon/centos7 is set in the following examples.  
-  
+Please refer to README.   
 
 Let's enjoy.
 
index 4eadaf4..3daa834 100644 (file)
--- a/src/NEWS
+++ b/src/NEWS
@@ -1,3 +1,8 @@
 
 2016 Jan21 release 0.1 :
 - First release.
+2016 Feb29 release 0.2 :
+- fulcon platform
+2016 Mar30 release 0.3 :
+- slot-os platform
+
index ee9a4b0..d9caf33 100644 (file)
@@ -1,16 +1,25 @@
 Fulcon / Slot-OS Platform 0.3    Copyright (C) 2015-2016 NIWA Hideyuki
     Apache License Version 2.0
 
-`Fulcon/Slot-OS` is the system container platform.
-
-Slot-OS divides the HOST machine into two or more software partitions (slot). Each partition can be operated like another machine of the same composition. 
-- Slot is a virtual partition divided with software. 
-- CPU%, a number of CPU, MEMORY, and virtual NIC of each slot can be set dynamically in each slot. 
-- The image of OS of Slot is generated from HOST OS. Download is unnecessary. 
-
-Fulcon/ Root of the Slot-OS container has a strong root authority, and the same operation as root of HOST is possible. 
-
-Fulcon can handle CentOS 7 , Ubuntu 15.04, Fedora 23
+## What is Fulcon/Slot-OS?
+
+- Slot-OS divides the HOST machine into two or more software partitions (slot). 
+- Each slot can be operated like another machine of the same composition. 
+- Root of the Fulcon/Slot-OS container has a strong root authority, and the same operation as root of HOST is possible. 
+- The slot can dynamically compose the network. (SDN function)
+
+## Function of Fulcon/Slot-OS
+- Function to divide machine into two or more slots
+- Function to generate image for slot from rootfs of HOST
+- Dynamic addition and deletion (SDN) function of two or more Internet Protocol addresses
+- Allocation of resource of each slot (CPU%, number of CPU, and memory size) and dynamic modification function
+- Console function of slot
+- Listing function of the entire slot
+- Suspension (temporary stop) and resume of slot
+- Automatic update-function of two or more slots
+- High-speed backup function
+
+Fulcon can handle CentOS 7, Ubuntu 15.04, Fedora 23
 
 ### Install pacage
 
index fd581cd..7e037fb 100644 (file)
@@ -37,6 +37,8 @@ make install libdir=%{_prefix}/lib DESTDIR=$RPM_BUILD_ROOT
 %{_localstatedir}/lib/fulcon
 
 %changelog
+* Wed Mar 30 2016 NIWA Hideyuki <niwa.niwa@nifty.ne.jp>
+- New release 0.3
 * Mon Feb 29 2016 NIWA Hideyuki <niwa.niwa@nifty.ne.jp>
 - New release 0.2
 * Thu Jan 14 2016 NIWA Hideyuki <niwa.niwa@nifty.ne.jp>
index 9cd648f..1cec13e 100755 (executable)
@@ -134,6 +134,7 @@ setup_network()
                ip link set ${LXCNAME}_${NUM} address $MAC1 
        else
                MAC1=`ip addr show ${LXCNAME}_${NUM} | egrep link/ether | awk '{print $2}'`
+#              MAC1=`echo $MAC1 | awk -F : '{printf "52:54:00:%2s:%2s:%2s",$4,$5,$6}'`
        fi
 
        ip link set ${LXCNAME}_${NUM} up
@@ -157,6 +158,7 @@ setup_network()
                ip netns exec "${LXCNAME}_${NUM}" ip link set vg${LXCNAME}_${NUM} address $MAC2
        else
                MAC2=`ip netns exec "${LXCNAME}_${NUM}" ip addr show vg${LXCNAME}_${NUM} | egrep link/ether | awk '{print $2}'`
+#              MAC2=`echo $MAC2 | awk -F : '{printf "52:54:00:%2s:%2s:%2s",$4,$5,$6}'`
        fi
 
        # Setting of network in container
index 8550d84..3625a94 100755 (executable)
@@ -98,8 +98,8 @@ done
 ip addr add $IPMASK dev fulcon$BRNO
 brctl addif fulcon$BRNO $NETDEV
 
-# set MAC
-#MAC=`ip addr show $NETDEV | egrep link/ether | awk '{print $2}'`
+# set BR MAC
+#MAC=`ip addr show fulcon$BRNO | egrep link/ether | awk '{print $2}' | awk -F : '{printf "52:54:00:%2s:%2s:%2s",$4,$5,$6}'`
 #ip link set fulcon$BRNO address $MAC
 
 # delete address of nic